I have a dialog window which is predefined to be e.g. visible, but when I create it I want it to be invisible. Therefore, I tried to change the styles with ModifyStyle, but this member funciton only works after Create, and this causes the window to be shown and then hidden again (when there are 4-5 windows of this kind, there is a lot of flickering).
How can I change any* of the styles before I create the dialog window (ie. it is not enough to uncheck 'Visible' in the resource editor.
* I have to change other styles too, eg. popup to child and .