Are there any reasons why one should use CreateWindow rather than CreateWindowEX ?
Does CreateWindowEX support all the Window Styles for Dialogs ?
(They all start with %DS_ )
Some of the Dialog styles (start with %DS_) seem to be the same as some Extended styles. Is this so you can use them with CreateWindow since it doesn't support extended styles ?
Also, I want to emulate all that a Dialogbox can do, but by using CreateWindowEX (rather than any of the DialogBox functions in the API). Besides IsDialogMessage (which I already use) , are there any other API functions that are useful in emulating the Dialogbox features (setting the focus, tabbing, etc.) ?
While, I can do all that I want using CreateDialogIndirect (which I use now), I find that using the Windows DialogBox engine may also create problems since I am handing over too much control to Windows. There are some things that I might try to do, but it is possible that the Dialogbox engine may try to override some things I attempt to do (may not like Dynamically created controls after the Dialog is already created).
Does CreateWindowEX support all the Window Styles for Dialogs ?
(They all start with %DS_ )
Some of the Dialog styles (start with %DS_) seem to be the same as some Extended styles. Is this so you can use them with CreateWindow since it doesn't support extended styles ?
Also, I want to emulate all that a Dialogbox can do, but by using CreateWindowEX (rather than any of the DialogBox functions in the API). Besides IsDialogMessage (which I already use) , are there any other API functions that are useful in emulating the Dialogbox features (setting the focus, tabbing, etc.) ?
While, I can do all that I want using CreateDialogIndirect (which I use now), I find that using the Windows DialogBox engine may also create problems since I am handing over too much control to Windows. There are some things that I might try to do, but it is possible that the Dialogbox engine may try to override some things I attempt to do (may not like Dynamically created controls after the Dialog is already created).
Comment