CreateMenuEx

www.progui.co.uk  Top  Previous  Next

CreateMenuEx()

Syntax

WindowsID.i = CreateMenuEx(MenuID.l, WindowID.i, Style.l)

Description

Creates an empty extended "floating" menu bar in the window specified by WindowID. MenuID is the internal ID to be used and if #ProGUI_Any is used then the returned value will be the new MenuEx ID. Style specifies what graphical style the menu is to use, currently there are 8 styles :

Style.l

Description

 

#UISTYLE_BUTTON

Button Style

 

#UISTYLE_EXPLORER

Explorer Style

 

#UISTYLE_MOZILLA

Mozilla Firefox Style

 

#UISTYLE_BEVELED_A

Beveled Style A

 

#UISTYLE_BEVELED_B

Beveled Style B

 

#UISTYLE_WHIDBEY

Office XP/Whidbey Style


 

OfficeXPStyleBlue

OfficeXPStyleSilver

#UISTYLE_OFFICE2003

Office 2003 Style


 

Office2003Blue

Office2003Silver

#UISTYLE_OFFICE2007

 

 

 

Office2007Blue

Office2007Black

 

Please also see SetUIColour for changing the colours used in the various styles to your own custom colours.

 

Returns the Windows ID (HMENU) of the menu (or if #ProGUI_Any is used the MenuEx ID) or zero for failure.

 

See MenuTitleEx.

 

MenuEx Index