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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Menu Editor

Status
Not open for further replies.

iamondtron

IS-IT--Management
Jan 24, 2002
10
US
Hello and thanks in advance. I'm sorta new to VB 6.0 and I have a question regarding the MENU EDITOR. Is there a way to move, lets say HELP all the way to the right on your form away from the other MENU commands (for ex: FILE, EDIT so on..) I tried moving it over by pushing the space bar, but that left a big space, which can be selected if you use your mouse, there. This is my first post of any kind on this issue. If anyone can help or give me links, that will be great. If more info is needed pls post here.

:cool:
 
Hello

You've hit a bit of a limitation in the menu editor. There is no inherent way of right aligning menu items.

You do have some choices;
1) Use a toolbar to emulate the menu bar
have a look at
2) Use some cunning api's to grab the menu and physically place it at the right edge of the form. The main issue is that you will have to keep doing this when the form is resized
Api's like;
Declare Function CreateMenu& Lib "user32" ()
Declare Function AppendMenu& Lib "user32" Alias "AppendMenuA" (ByVal hMenu As _
Long, ByVal wFlags As Long, ByVal wIDNewItem As Long, ByVal lpNewItem As String)

3) Buy a third party tool to allow you to do it (an activex component)

Hope this helps
 
I´m new with Vb, and the version i have (6.0), dont have help files, where can i find help files to VB6.0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top