Click to See Complete Forum and Search --> : Restoring Windows


Mongoose
February 29th, 2000, 11:12 AM
What is the easiest way to restore a window. What I mean by that is say the user clicks on the minimize button on one form, and in another form the user clicks on a button which should bring up the other minimized form. How can one accomplish this?


i tried the m_frmHelp.Setfocus method but that just sets the focus to the taskbar. I want the form to pop back up if it's minimized :)


thankx

Cakkie
February 29th, 2000, 11:18 AM
This should do the trick

' 0 = normal
' 1 = minimized
' 2 = maximized
m_frmHelp.WindowState = 0




Tom Cannaerts
slisse@planetinternet.be

The best way to escape a problem, is to solve it.

Mongoose
February 29th, 2000, 11:20 AM
Thank you very much! :)