I'm trying to get menus and want it invisible, also i dont want the titlebar. but for some reason, you cant get menus and no titlebar together for some reason. when the menu is implemented, the titlebar shows up no matter what. I tried disabling the menus and making it invisible, but the titlebar is still there. the only way to fix this is to delete the menu.
Last edited by Whatupdoc; Sep 14th, 2005 at 06:08 AM.
I'm not sure what you are talking about.
Just have a look at this form. It has menus but not titlebar.
EDIT: You can uncheck the visible property of top level menus (File, Edit etc.) to make them invisible.
Pradeep
Pradeep, Microsoft MVP (Visual Basic) Please appreciate posts that have helped you by clicking icon on the left of the post.
"A problem well stated is a problem half solved." — Charles F. Kettering
The trick is to set ControlBox = False and Caption = "", so if form has visible menus then titlebar won't be shown and form can still be resizable (if you want to).
Bear in mind you'll always get a single pixel wide black (or some system colour) line around your form if you do that; and the reason is because to have menus you need a non-client area (that is the titlebar, border etc., as opposed to the content of your form which is termed the client area) and it has to be at least one pixel wide.