| Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
| Форум программистов > C/C++: Системное программирование и WinAPI > EndDialog/DestroyWindow |
| Автор: devmstr 3.11.2006, 05:32 | ||||
Я правильно понимаю, что
|
| Автор: SergeCpp 3.11.2006, 08:38 |
| http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/dialogboxes/aboutdialogboxes.asp |
| Автор: Gwendolen 3.11.2006, 22:53 |
| 1.DestroyWindow also destroys modeless dialog boxes created by the CreateDialog function. Remarks A thread cannot use DestroyWindow to destroy a window created by a different thread. 2. The EndDialog function destroys a modal dialog box... Remarks Dialog boxes created by the DialogBox, DialogBoxParam, DialogBoxIndirect, and DialogBoxIndirectParam functions must be destroyed using the EndDialog function. An application calls EndDialog from within the dialog box procedure; the function must not be used for any other purpose. |
| Автор: devmstr 5.11.2006, 09:19 |
| SergeCpp, Спасибо. Теперь я спокоен. Gwendolen, Ну прочитав я понял что это и есть подтверждение моего предположения. Спасибо, что потратили время на поиски цитат в MSDN. |