HydrogenAudio

Hosted Forums => foobar2000 => Development - (fb2k) => Topic started by: dug on 2005-08-24 14:41:57

Title: uCreateDialog vs uDialogBox
Post by: dug on 2005-08-24 14:41:57
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?
Title: uCreateDialog vs uDialogBox
Post by: foosion on 2005-08-24 15:12:49
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.
Title: uCreateDialog vs uDialogBox
Post by: dug on 2005-08-24 16:32:33
Thanks a lot.