Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

MenuBar

 

 

 

This class provides the menu hierarchy. It can be used either as Frame or as regular Ctrl (in that case it represents top-level menu), or be pop-up as local menu (PopUp or Execute).

 

 

Public Method List

 

The height of top-level menu using the font.

 


 

Forces closing any open sub-menus.

 


 

Sets the top-level menu. Use for top-level menu bars only.

 


 

Deprecated - do not use.

 


 

Pop-ups the menu at p in the owner view area. sz is the size of menu, if zero, needed size is computed. Menu can be defined by issuing individual Add methods before calling PopUp.

 


 

Same as PopUp(GetActiveWindow(), p).

 


 

Same as previous method, with p set to the current mouse position.

 


 

Pop-ups the menu at p in the owner view area and performs the modal loop for it.

 


 

Same as Execute(GetActiveWindow(), p).

 


 

Same as previous method, with p set to the current mouse position.

 


 

Pop-ups the menu based on proc.

 


 

Same as previous method, using GetActiveWindow() as owner.

 


 

Same as previous method, using current mouse position.

 


 

Returns true if MenuBar has no items.

 


 

Removes all items from MenuBar.

 


 

Minimum size reserved on the left side of menu items for icons in pixels. Default value is 16. Returns *this.

 


 

Sets the font to be used in MenuBar. Default is standard GUI font. Returns *this.

 


 

Returns the font used in MenuBar.

 


 

Sets the maximum size of an iconn displaye inside a menu item to sz.

 


 

Returns the maximum icons size.

 

 

Last edit by cxl on 09/17/2012. Do you want to contribute?. T++