Maximizing a form like VB main window 
Author Message
 Maximizing a form like VB main window

I'm trying to design a main window much like the Visual Basic window -
it's just a strip with toolbar and menu at the top of the screen. When
it is maximized, it aligns itself like a normal maximized window, but
doesn't fill up the whole screen.

I want to do this, but when the maximize button is pressed, the form
fills the entire screen. Is there anyway to intecept the maximizing of a
form and alter it to suit your needs, a la the VB window? Also, if the
form isn't maximized, and you just set it to the size you want it, (so
it *looks* like it's maximized) then the form can be moved by clicking
and dragging on the title bar. I don't want this to happen. When it's
maximized, then form can't be dragged. Try it in VB and see what I mean.

Thanks the help in advance,

Craig McDonald



Sun, 21 May 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. maximize child form display multiple tool box controls on main form

2. Main window which won't fill down screen when maximized

3. Modal forms stuck behind main window - VB 3.0 on WIN 95

4. Unhandled exception in system.windows.forms.dll (in my main form) - argh

5. How to hide the maximize/restore and close-button on a maximized form

6. 'Restore Window' button on maximized Form

7. Windows and forms maximize

8. Maximizing Code/Form Windows

9. Maximizing vb6 form or code window on startup

10. How can I make MDIChild form always maximized within its parent window

11. Modeless child form and main window focus

12. Outlook liked form design

 

 
Powered by phpBB® Forum Software