• Welcome to Valhalla Legends Archive.
 

Minamizing to Tray

Started by TeEhEiMaN, May 24, 2003, 09:22 PM

Previous topic - Next topic

OcTaViuS

Quote from: Zakath on May 25, 2003, 05:38 PM
Incidentally, you're incorrect about the search. It's quite easy to find one of several topics where solutions to your exact problem were presented.

almost all topics from search displayed how to get it minimized yes, but the real problem in this thread is how to get it maximized again. and nowhere on these forums can an exact answer on that be found, only suggestions based on a theory.

Camel

Quote from: OcTaViuS on May 25, 2003, 05:49 PM
Quote from: Zakath on May 25, 2003, 05:38 PM
Incidentally, you're incorrect about the search. It's quite easy to find one of several topics where solutions to your exact problem were presented.

almost all topics from search displayed how to get it minimized yes, but the real problem in this thread is how to get it maximized again. and nowhere on these forums can an exact answer on that be found, only suggestions based on a theory.

Show
WindowState = vbMaximized

Zakath

If you don't know how to cause a window that you have a handle for to be displayed, you shouldn't be messing with systray stuff, period. Either use the VB "Show" builtin, or the API function ShowWindow. It's not hard to figure out.
Quote from: iago on February 02, 2005, 03:07 PM
Yes, you can't have everybody...contributing to the main source repository.  That would be stupid and create chaos.

Opensource projects...would be dumb.

OcTaViuS

Quote from: Camel on May 26, 2003, 11:52 AM

Show
WindowState = vbMaximized


well ya that parts obviose. i meant figuring out how to implement it with the call back message

Camel

Quote from: OcTaViuS on May 26, 2003, 01:55 PM
Quote from: Camel on May 26, 2003, 11:52 AM

Show
WindowState = vbMaximized


well ya that parts obviose. i meant figuring out how to implement it with the call back message

Sub thecallbackmessage()
    someform.Show
    someform.WindowState = vbMaximized
End Sub