Вниз
Скачать: CL | DM;

Модальное окно на WinAPI   Найти похожие ветки 

← →
capkoh ©   (2007-02-06 19:49) [0]

Возможно ли простыми методами создать модальное окно на WinAPI? Оно должно быть дополнительным к основному окну. Имею в виду установку стилей и пр. Или это только привилегия MessageBox"ов?


← →
Leonid Troyanovsky ©   (2007-02-06 21:11) [1]


> capkoh ©   (06.02.07 19:49)  

>  Имею в виду установку стилей и пр. Или это только привилегия
> MessageBox"ов?


See also: DialogBox*

--
Regards, LVT.


← →
capkoh ©   (2007-02-07 18:34) [2]

The function displays the dialog box (...), disables the owner window, and starts its own message loop to retrieve and dispatch messages for the dialog box.

Т.е. даже тут это делается вручную? Кроме того, Dialog Box не полностью блокирует доступ к приложению, а только к окну указанному hWndParent и его чилдам...

Выходит, по-простому никак?

When the owner window is not already disabled, the system automatically disables the window and any child windows belonging to it when it creates the modal dialog box. The owner window remains disabled until the dialog box is destroyed.

Как они это делают? Просто EnableWindow()?



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.013 c
2-1182622364
Алексин
2007-06-23 22:12
2007.07.15
цикл


2-1182383945
Cj
2007-06-21 03:59
2007.07.15
ReadProcessMemory, Float.


2-1182105782
Bullfrog
2007-06-17 22:43
2007.07.15
TWebBrowser


15-1181819723
ArtemESC
2007-06-14 15:15
2007.07.15
Где можно скачать драйвер для CardReader?


6-1166441975
integerr
2006-12-18 14:39
2007.07.15
дание в POST запросе IdHTTP




   Наверх