Inspired Creations



Support

Affiliates

Resellers

Reviews

Privacy
Home
Software
ActiveX controls
Download
Contact
Ordering information
MenuEx ActiveX control MenuEx
MenuEx: Properties
Methods
Events
Objects: MenuItem
Download Order

 

 

Properties
BarMenuStyle Returns or sets the style of the bar(top level) menu items.
BgPicture Returns or sets a graphic to be displayed as background of the menu items.
CheckMarkIndex Returns or sets the index of the image in the ImageList that will be used to draw the checkmark for the checked menu items.
ColorArrow Returns or sets the color used to draw the arrow of a menu item that opens a sub menu.
ColorArrowSel Returns or sets the color used to draw the arrow of a highlighted menu item that opens a sub menu.
ColorBack Returns or sets the color used to draw the background of a menu item.
ColorBackSel Returns or sets the color used to draw the background of a highlighted menu item.
ColorBarBack Returns or sets the color used to draw the background of a bar(top level) menu item.
ColorBarBackClick Returns or sets the color used to draw the background of a selected bar(top level) menu item.
ColorBarBackSel Returns or sets the color used to draw the background of a highlighted bar(top level) menu item.
ColorBarGradA Returns or sets the first color used to draw the gradient background of a bar(top level) menu item.
ColorBarGradB Returns or sets the second color used to draw the gradient background of a bar(top level) menu item.
ColorBarHeight Returns or sets the height of the Color menu items, in pixels.
ColorBarText Returns or sets the color used to display text in a bar(top level) menu item.
ColorBarTextClick Returns or sets the color used to display text in a selected bar(top level) menu item.
ColorBarTextGray Returns or sets the color used to display text in a disabled bar(top level) menu item.
ColorBarTextSel Returns or sets the color used to display text in a highlighted bar(top level) menu item.
ColorBarWidth Returns or sets the width of the Color menu items, in pixels.
ColorBorders Returns or sets the color used to draw the borders of a menu panel.
ColorCheckBack Returns or sets the color used to draw the background for the checkmark area of a checked menu item.
ColorCheckBackSel Returns or sets the color used to draw the background for the checkmark area of a highlighted and checked menu item.
ColorCheckMark Returns or sets the color used to draw the check mark of a checked menu item.
ColorFrameSel Returns or sets the color used to draw the border of a highlighted menu item.
ColorHeaderBack Returns or sets the color used to draw the background of a Header menu item.
ColorHeaderText Returns or sets the color used to display text in a Header menu item.
ColorLSide Returns or sets the color used to draw the LSide of a menu item.
ColorLSideGradA Returns or sets the first color used to draw the gradient LSide of a menu item.
ColorLSideGradB Returns or sets the second color used to draw the gradient LSide of a menu item.
ColorSelGradA Returns or sets the first color used to draw gradient for a highlighted menu item.
ColorSelGradB Returns or sets the second color used to draw gradient for a highlighted menu item.
ColorSeparator Returns or sets the color used to draw a separator menu item.
ColorStyle Returns or sets the style of the Color menu items.
ColorText Returns or sets the color used to display text in a menu item.
ColorTextGray Returns or sets the color used to display text in a disabled menu item.
ColorTextSel Returns or sets the color used to draw the background for the checkmark area of a highlighted and checked menu item.
DefaultColors Returns/sets the set of colors that will be used to draw menu items.
Font Returns or sets a Font object.
HeaderStyle Returns or sets the style of the Header menu items.
hIml Returns the handle to the ImageList associated with the MenuEx control.
HoverStyle Returns or sets the style of the highlighted menu items.
IconSize Returns or sets the size of the images in the control's ImageList.
ImageCount Returns the number of images in the control's ImageList.
ItemsPerColumn Returns the number of normal menu items that can fit in a Screen's height.
LSideStyle Returns or sets the style of the LSide of the menu items.
MenuCount Returns the number of MenuItem members in the MenuItems collection.
MenuItems Returns a collection of MenuItem objects. A MenuItem object consists of information about the menu item it represents.
MenuStyle Returns or sets the style of the menu items.
Parent Returns the parent Form object of the MenuEx control.
RightOrder Returns or sets a boolean value that indicates the alignment of the menu items.
RightToLeft Returns or sets a boolean value that indicates the text display direction and controls the visual appearance of the menu items.
SelGradientV Determines whether gradient for highlighted menu items will be drawn vertically.
TopParent Returns the Top-level parent menu item for the specified menu.
UseSysFont Determines whether the default system Font will be used to display text in menu items.

 

 

Methods
AddFromFile Adds an image into the ImageList, from a file.
AddFromHandle Adds an image into the ImageList, from a GDI image handle.
AddFromResourceID Adds an image into the ImageList, from an ID in a resource(RES) file.
AddMenu Adds a new menu item in the specified parent menu.
AddSysMenuItem Adds a new menu item in the system menu of the form.
Attach Initializes the MenuEx control to start handling the menu items.
ClearMenu Removes any sub menus under a menu item.
DeleteMenu Deletes a menu item and all its sub menus.
GetMenuKeyFromID Returns the Key of a menu item from its ID.
GetPopupMenu Returns the handle of the drop-down or the sub menu (if any) for the specified menu item.
GetSysMenuCount Returns the number of items in the Form's system menu.
InitFonts Refreshes the Font object used by the MenuEx control for drawing text.
InsertMenu Inserts a new menu item at the specified position in a menu.
RedrawMenus Redraws the menu items.
RemoveSysMenuItem Removes a menu item from the system menu of the form.
ShowPopupMenu Shows the specified pop up menu at the specified coordinates.
SysSupportAlpha Returns a value indicating whether the system supports alpha blending.

 

 

Events
CDrawItem (ByVal oMI as MenuItem, ByVal Selected as Boolean, ByVal hDC as Long, ByVal iLeft as Long, ByVal iWidth as Long, ByVal iHeight as Long, ByRef bProcessed as Boolean)
CMeasureItem (ByVal oMI as MenuItem, ByRef iWidth as Long, ByRef iHeight as Long, ByRef bProcessed as Boolean)
InitMenuPopup (ByVal oMI as MenuItem)
MenuClick (ByVal oMI as MenuItem)
MenuExit
MenuHighlight (ByVal oMI as MenuItem)
SysMenuClick (ByVal oMI as MenuItem)
SysMenuHighlight (ByVal oMI as MenuItem)

 

 

MenuItem Object

Properties
Accelerator Returns or sets the keyboard access key associated with a menu item.
Caption Returns or sets the text displayed for a MenuItem.
Checked Returns or sets a value that determines whether a check mark is displayed next to a menu item.
ColorItem Returns or sets the color value of a Color menu item.
Default Determines if a menu item is the default item.
Enabled Returns or sets a value that determines whether a menu item can respond to user-generated events.
Handle Returns the Handle of a MenuItem.
Header Determines whether a menu item is a Header item.
IconIndex Returns or sets the index of an icon associated with a menu item.
ID Returns the ID of a MenuItem.
IndexVB Returns the VB index of a MenuItem.
IsBarMenu Determines whether a menu item is in the menu bar (top level menu item).
IsSeparator Determines whether a menu item is a Separator.
IsSysItem Determines whether a menu item belongs to the parent Form's system menu.
Key Returns or sets the Key of a MenuItem.
MenuBarBreak Places a menu item on a new line/column.
MenuBreak Places a menu item on a new line/column.
MenuHelp Returns or sets the help text about a MenuItem.
Name Returns the Name of a MenuItem.
ParentID Returns the ID of the parent menu for a MenuItem.
RadioCheck Determines whether checked menu items are displayed with a bullet bitmap instead of a check mark bitmap.
RightAlign Right-justifies the menu item and any subsequent items.
ShortCut Returns or sets the keyboard shortcut of a MenuItem.
SideBar Determines whether a menu item is a SideBar item.
SideBarFlags Returns or sets the position of the image for a Sidebar menu item.
SideBarImage Returns or sets a graphic to be displayed in a SideBar item.
SideBarColorA Returns or sets the first color used to draw the background of a Sidebar menu item.
SideBarColorB Returns or sets the second color used to draw the background of a Sidebar menu item.
SideBarTransColor Returns or sets a color of the image for a Sidebar menu item, to be drawn transparent.
Tag Returns or sets an expression that stores any extra data needed for your program.
Visible Returns or sets a value that determines whether a VB menu item is visible.

 

 

 

Home | Software | ActiveX | Download | Order | Support | Contact | About us

Copyright © 1997-2008 Inspired Creations Inc.
iclogo