ShowWindow API

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
I notice something was strange after i used the ShowWindow command to Show a hidden window. Some of the controls of the window wasnt visible anymore. Even if command to set the control.visible to true doesnt turn the variable true. If i hide the window again and show it again by the program itself, all become normal again. It only happen when i use the ShowWindow from a different app. Any idea whats wrong?
 
I also notice the controls that disappeared are either the ones that was created at runtime, or ones on a different tab that wasnt shown before it was hidden. I also find that setting WindowState to Minimized doesnt work anymore. I can still hit the minimize box tho. The window was minimized before the ShowWindow was used.
 
Last edited:
Back
Top