Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to stop resize when user dbl clicks on form's caption bar

Status
Not open for further replies.

drosenkranz

Programmer
Sep 13, 2000
360
US
I'm running VB5 App using Access '97. My main form is maximized on the desktop with no min button. The form does not allow resizing or moving. No one is supposed to be minimizing this application. Network administrator's policy.

Somebody in clerical figured out that double clicking in the form's caption bar will resize the form and allow the user access to their Window's Start Button. Word spread. Users are now launching other application's without exiting mine first. How can I stop that resize event from occurring and force them to exit my app first? [sig][/sig]
 
Set frmMainMenu.Windowstate = 2 'Maximized in the form's resize event. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top