show hidden window!
I am making a program in which one window creates another window when a button is pressed and is itself hidden using:
This works fine and the former window hides. But then when I try to restore this window using a button on the newly created window, I am unable to do so. What should be the second argument to ShowWindow to restore the hidden window so that its displayed in its regular size as before.
Any help would be appreciated!! :D
IIRC SW_HIDE = 0 and SW_SHOW =1 (but I would not rely on it...)
Thanks for the suggestion, but it didn't work, it seems there's something wrong with my code.. I will debug it again and see if it works or not.
I did look it up in MSDN.. but couldn't judge which one should be made the second argument.. anyways thanks for the suggestion,the problem has been resolved.. there was a minor error in my code.. :D
So you try the most likely candidates until you find the right one... Once again, simple experiments....
Originally Posted by gaurav_13191
Sure.. I will keep that in mind.. :D