Skip to main content
Topic: uCreateDialog vs uDialogBox (Read 2486 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

uCreateDialog vs uDialogBox

Can't understand, if there is way to make dialog form act like ordinal dialog form by calling uCreateDialog? I mean tab-movements, WM_CANCEL message and so on, because I just do not receive them if I create dialog by that call. On the other hand, I have nice form by calling uDialogBox(), but it is modal, that's seems to be inadmissible... what I am doing wrong?
dezisehtnys eb lliw noitulover eht

uCreateDialog vs uDialogBox

Reply #1
You need to call modeless_dialog_manager::add() in your WM_INITDIALOG  and modeless_dialog_manager::remove() in your WM_DESTROY handler to enable dialog message processing for a modeless dialog in the main event loop.

 

uCreateDialog vs uDialogBox

Reply #2
Thanks a lot.
dezisehtnys eb lliw noitulover eht

 
SimplePortal 1.0.0 RC1 © 2008-2019