llcoolmel
asked on
A form w/ a menu but w/out the title bar...
i've made a form that has a menu in it but i don't want the title bar showing. but because the menu is there, i can't get rid of the title bar. even though the borderstyle of the form is set to "none", the title bar is still there!!! how can i get rid of it?? i'm using vb4-32
Make the menu a popup. (Right CLick, with sub menus.) Just create a regular menu with the menus you would want as submenus in it. Then use the following code and change the second word in the 3rd line for the name of your menu.
Private Sub Form_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
PopupMenu mnuFile
End If
End Sub
Private Sub Form_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
PopupMenu mnuFile
End If
End Sub
ASKER
i have already tried that and i tried it again...still can't get rid of the title bar. i have also tried making the menu not visible and popup in the form but the title bar is still there.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
"...i love you..."
LOL, glad I could help!
Not to be critical here, but I came up with the idea of a poup menu in the first place.
Bought This Question.
ASKER