I've noticed an aesthetically annoying problem since upgrading to the 8/16 version of FWH. The problem is that a "ghost" image of a dialog is briefly displayed - for maybe half a second - without the effect of RESIZE16 and without containing any data, and then the correct dialog is displayed with the effect of RESIZE16 and also containing the data.
Looking at TDialog:Activate() I can see how this happens but don't see how to fix it. In TDialog:Activate() we have...
::hWnd = CreateDlg( ::hResources, ::cResName, hActiveWnd )
This apparently displays the "ghost" image of the dialog. Then the following line almost immediately hides it...
ShowWindow( ::hWnd, SW_HIDE )
And then a few lines later we have...
::Show()
::Refresh() // needed for resource dialogs.
It seems that this ::Show() is where the dialog is correctly displayed with RESIZE16 in effect and with the data in place.
Is there a way to eliminate the annoying momentary display of the "ghost" image of the dialog just before the real dialog is shown?