Link to home
Start Free TrialLog in
Avatar of GivenRandy
GivenRandy

asked on

Minimize Form and Keep It Minimized

I can minimize a form to taskbar by:

Me.WindowState = vbMinimized

However, I want it to stay minimized. Currently, if the user clicks on the taskbar entry, it redisplays that form. I have the ControlBox disabled as well as MinButton and MaxButton disabled.

I want it to stay visible on the taskbar so that it can display the status of the program (using the form caption).
ASKER CERTIFIED SOLUTION
Avatar of Crin
Crin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nichia
nichia

Try placing the window out of view.

In Form_Load:

Windowstate = vbMinimized
Left = -(Width *2)

Hope it helps!
Avatar of GivenRandy

ASKER

Of course! Thank you!