#S(HASH-TABLE EQL (FILENAME . "c:\programs\circle\cpopupmenu.dll")(GUID . "{AF91AC88-6077-11D2-92EF-0000F822352E}")(DESCRIPTION . "Cicle PopUp based on vbAccelerator Popup Menu DLL. Create unlimited new pop-up menus.")(VERSION . "1.0") (CLASSES . #S(HASH-TABLE EQUAL ("_cCirclePopupMenu" (TYPE . "Dispinterface")(GUID . "{AF91ACA1-6077-11D2-92EF-0000F822352E}")(FUNCTIONS ((NAME . "QueryInterface") (RIID . #x60000000) (OFFSET . #x0) (RETURNS . "VT_VOID")(PARAMS ("riid" "VT_PTR.GUID")("ppvObj" "VT_PTR.VT_VOID")) (FLAGS ( IS-FUNCTION ))) ((NAME . "AddRef") (RIID . #x60000001) (OFFSET . #x4) (RETURNS . "VT_UI4")(PARAMS ) (FLAGS ( IS-FUNCTION ))) ((NAME . "Release") (RIID . #x60000002) (OFFSET . #x8) (RETURNS . "VT_UI4")(PARAMS ) (FLAGS ( IS-FUNCTION ))) ((NAME . "GetTypeInfoCount") (RIID . #x60010000) (OFFSET . #xc) (RETURNS . "VT_VOID")(PARAMS ("pctinfo" "VT_PTR.VT_UINT")) (FLAGS ( IS-FUNCTION ))) ((NAME . "GetTypeInfo") (RIID . #x60010001) (OFFSET . #x10) (RETURNS . "VT_VOID")(PARAMS ("itinfo" "VT_UINT")("lcid" "VT_UI4")("pptinfo" "VT_PTR.VT_VOID")) (FLAGS ( IS-FUNCTION ))) ((NAME . "GetIDsOfNames") (RIID . #x60010002) (OFFSET . #x14) (RETURNS . "VT_VOID")(PARAMS ("riid" "VT_PTR.GUID")("rgszNames" "VT_PTR.VT_I1")("cNames" "VT_UINT")("lcid" "VT_UI4")("rgdispid" "VT_PTR.VT_I4")) (FLAGS ( IS-FUNCTION ))) ((NAME . "Invoke") (RIID . #x60010003) (OFFSET . #x18) (RETURNS . "VT_VOID")(PARAMS ("dispidMember" "VT_I4")("riid" "VT_PTR.GUID")("lcid" "VT_UI4")("wFlags" "VT_UI2")("pdispparams" "VT_PTR.DISPPARAMS")("pvarResult" "VT_PTR.VT_VARIANT")("pexcepinfo" "VT_PTR.EXCEPINFO")("puArgErr" "VT_PTR.VT_UINT")) (FLAGS ( IS-FUNCTION ))) ((NAME . "BackgroundPicture") (RIID . #x6803001c) (OFFSET . #x28) (RETURNS . "VT_VOID")(PARAMS ("dispidMember" "VT_PTR.VT_PTR.Picture")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Sets a StdPicture object to tile behind the menu items. Use ClearBackgroundPicture to remove the picture again.")) ((NAME . "ClearBackgroundPicture") (RIID . #x6003001d) (OFFSET . #x2c) (RETURNS . "VT_VOID")(PARAMS ) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Removes the background picture (if any) being used to tile behind menu items.")) ((NAME . "IDForItem") (RIID . #x6803001b) (OFFSET . #x30) (RETURNS . "VT_I4")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Returns the Menu ID used to identify a menu item. If the menu has a child menu, this will be the menu handle of the child menu.")) ((NAME . "ItemForID") (RIID . #x6803001a) (OFFSET . #x34) (RETURNS . "VT_I4")(PARAMS ("wID" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Returns the Index of the menu item with the specified ID.")) ((NAME . "EmulateMenuClick") (RIID . #x6003001f) (OFFSET . #x38) (RETURNS . "VT_VOID")(PARAMS ("wID" "VT_I4")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Given the ID of a menu item, calls the code cPopupMenu would normally run when the item is clicked.")) ((NAME . "GradientHighlight") (RIID . #x68030019) (OFFSET . #x3c) (RETURNS . "VT_BOOL")(PARAMS ) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets whether highlights on the menu are drawn with a gradient or not.")) ((NAME . "GradientHighlight") (RIID . #x68030019) (OFFSET . #x40) (RETURNS . "VT_VOID")(PARAMS ("wID" "VT_BOOL")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets whether highlights on the menu are drawn with a gradient or not.")) ((NAME . "HeaderStyle") (RIID . #x68030018) (OFFSET . #x44) (RETURNS . "VT_USERDEFINED.Enum.ECNMHeaderStyle")(PARAMS ) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets how header style menu items will be drawn. Header style items can either be drawn in an ICQ-style (when a standard menu separator is drawn but the text is rendered in a small font) or in a small window caption style.")) ((NAME . "HeaderStyle") (RIID . #x68030018) (OFFSET . #x48) (RETURNS . "VT_VOID")(PARAMS ("wID" "VT_USERDEFINED.Enum.ECNMHeaderStyle")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets how header style menu items will be drawn. Header style items can either be drawn in an ICQ-style (when a standard menu separator is drawn but the text is rendered in a small font) or in a small window caption style.")) ((NAME . "Count") (RIID . #x68030017) (OFFSET . #x4c) (RETURNS . "VT_I4")(PARAMS ) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets the number of items in the menu.")) ((NAME . "HighlightCheckedItems") (RIID . #x68030016) (OFFSET . #x50) (RETURNS . "VT_BOOL")(PARAMS ) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets whether checked items should be highlighted when the menu item is selected.")) ((NAME . "HighlightCheckedItems") (RIID . #x68030016) (OFFSET . #x54) (RETURNS . "VT_VOID")(PARAMS ("wID" "VT_BOOL")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets whether checked items should be highlighted when the menu item is selected.")) ((NAME . "Tag") (RIID . #x68030015) (OFFSET . #x58) (RETURNS . "VT_BSTR")(PARAMS ) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets a string associated with the popup-menu object.")) ((NAME . "Tag") (RIID . #x68030015) (OFFSET . #x5c) (RETURNS . "VT_VOID")(PARAMS ("wID" "VT_BSTR")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets a string associated with the popup-menu object.")) ((NAME . "Store") (RIID . #x60030020) (OFFSET . #x60) (RETURNS . "VT_VOID")(PARAMS ("sKey" "VT_BSTR")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Stores the current popup menu for later retrieval with the Restore command.")) ((NAME . "Restore") (RIID . #x60030021) (OFFSET . #x64) (RETURNS . "VT_VOID")(PARAMS ("sKey" "VT_BSTR")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Restores a previously created menu saved with the Store command.")) ((NAME . "StoreToFile") (RIID . #x60030022) (OFFSET . #x68) (RETURNS . "VT_VARIANT")(PARAMS ("iFIle" "VT_I4")("sFile" "VT_BSTR")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Saves all menus to a file. Specifiy either a filename or an open file handle to save to.")) ((NAME . "RestoreFromFile") (RIID . #x60030023) (OFFSET . #x6c) (RETURNS . "VT_VARIANT")(PARAMS ("iFIle" "VT_I4")("sFile" "VT_BSTR")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Restores all menus previously saved to a file using StoreToFile. Specifiy either a filename or an open file handle to the file containing the stored data.")) ((NAME . "hWndOwner") (RIID . #x68030013) (OFFSET . #x70) (RETURNS . "VT_I4")(PARAMS ) (FLAGS ( IS-GET ))(DESCRIPTION . "Sets the owning window of the popup menu. This must be set before any popup menus are shown.")) ((NAME . "hWndOwner") (RIID . #x68030013) (OFFSET . #x74) (RETURNS . "VT_VOID")(PARAMS ("iFIle" "VT_I4")) (FLAGS ( IS-SET ))(DESCRIPTION . "Sets the owning window of the popup menu. This must be set before any popup menus are shown.")) ((NAME . "ImageList") (RIID . #x68030012) (OFFSET . #x78) (RETURNS . "VT_VOID")(PARAMS ("iFIle" "VT_PTR.VT_VARIANT")) (FLAGS ( IS-SET ))(DESCRIPTION . "Associates an ImageList with the Popup menu for setting icons. This may be set to either a VB ImageList control or a hImageList API handle.")) ((NAME . "AddItem") (RIID . #x60030024) (OFFSET . #x7c) (RETURNS . "VT_I4")(PARAMS ("sCaption" "VT_BSTR")("sHelptext" "VT_BSTR")("lItemData" "VT_I4")("lParentIndex" "VT_I4")("lIconIndex" "VT_I4")("bChecked" "VT_BOOL")("bEnabled" "VT_BOOL")("sKey" "VT_BSTR")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Adds a new menu item, optionally specifying the caption, helptext, 0 based icon index in the ImageList, Itemdata, Key to refer to the item and whether the menu item is enabled or checked. The item can be in a sub-menu if you specify the index of the par")) ((NAME . "InsertItem") (RIID . #x60030025) (OFFSET . #x80) (RETURNS . "VT_I4")(PARAMS ("sCaption" "VT_BSTR")("vKeyBefore" "VT_VARIANT")("sHelptext" "VT_BSTR")("lItemData" "VT_I4")("lIconIndex" "VT_I4")("bChecked" "VT_BOOL")("bEnabled" "VT_BOOL")("sKey" "VT_BSTR")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Similar to AddItem, except allows you to Insert a menu item before an existing one rather than adding to the end of a menu.")) ((NAME . "ReplaceItem") (RIID . #x60030026) (OFFSET . #x84) (RETURNS . "VT_I4")(PARAMS ("vKey" "VT_VARIANT")("sCaption" "VT_VARIANT")("sHelptext" "VT_VARIANT")("lItemData" "VT_VARIANT")("lIconIndex" "VT_VARIANT")("bChecked" "VT_VARIANT")("bEnabled" "VT_VARIANT")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Replaces one or more properties of an existing menu item.")) ((NAME . "RemoveItem") (RIID . #x60030027) (OFFSET . #x88) (RETURNS . "VT_VOID")(PARAMS ("vKey" "VT_VARIANT")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Removes an item from a menu, and any sub-items of that item.")) ((NAME . "ClearSubMenusOfItem") (RIID . #x6003002b) (OFFSET . #x8c) (RETURNS . "VT_I4")(PARAMS ("vKey" "VT_VARIANT")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Removes all the sub menus items of a given parent menu item, but leaves the sub menu itself. Use when responding to the InitPopupMenu event.")) ((NAME . "IndexForKey") (RIID . #x68030011) (OFFSET . #x90) (RETURNS . "VT_I4")(PARAMS ("sKey" "VT_BSTR")) (FLAGS ( IS-GET ))(DESCRIPTION . "Returns the internal index for a menu item with the given key. If there is more than one item with the same key, the first item found is returned.")) ((NAME . "ItemKey") (RIID . #x68030010) (OFFSET . #x94) (RETURNS . "VT_BSTR")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets a key string to be associated with a menu item. Keys do not have to be unique.")) ((NAME . "ItemKey") (RIID . #x68030010) (OFFSET . #x98) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("sCaption" "VT_BSTR")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets a key string to be associated with a menu item. Keys do not have to be unique.")) ((NAME . "ItemData") (RIID . #x6803000f) (OFFSET . #x9c) (RETURNS . "VT_I4")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets a long value associated with a menu item.")) ((NAME . "ItemParentIndex") (RIID . #x6803000e) (OFFSET . #xa0) (RETURNS . "VT_I4")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Returns the index of the parent item of this menu (or zero if the item has no parent).")) ((NAME . "ItemData") (RIID . #x6803000f) (OFFSET . #xa4) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("sCaption" "VT_I4")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets a long value associated with a menu item.")) ((NAME . "ItemIcon") (RIID . #x6803000d) (OFFSET . #xa8) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("sCaption" "VT_I4")) (FLAGS ( IS-SET ))) ((NAME . "ItemIcon") (RIID . #x6803000d) (OFFSET . #xac) (RETURNS . "VT_I4")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))) ((NAME . "Checked") (RIID . #x6803000c) (OFFSET . #xb0) (RETURNS . "VT_BOOL")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets whether a menu item is checked.")) ((NAME . "Checked") (RIID . #x6803000c) (OFFSET . #xb4) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("sCaption" "VT_BOOL")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets whether a menu item is checked.")) ((NAME . "RadioCheck") (RIID . #x6803000b) (OFFSET . #xb8) (RETURNS . "VT_BOOL")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets whether a menu item is checked with a radio (option-box) style indicator.")) ((NAME . "RadioCheck") (RIID . #x6803000b) (OFFSET . #xbc) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("sCaption" "VT_BOOL")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets whether a menu item is checked with a radio (option-box) style indicator.")) ((NAME . "GroupToggle") (RIID . #x60030034) (OFFSET . #xc0) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("bRadio" "VT_BOOL")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Toggles the value of one radio item within a group (between separators within the same menu)")) ((NAME . "Enabled") (RIID . #x6803000a) (OFFSET . #xc4) (RETURNS . "VT_BOOL")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets whether an item in a popup menu is enabled.")) ((NAME . "Enabled") (RIID . #x6803000a) (OFFSET . #xc8) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("bRadio" "VT_BOOL")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets whether an item in a popup menu is enabled.")) ((NAME . "Caption") (RIID . #x68030009) (OFFSET . #xcc) (RETURNS . "VT_BSTR")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets the caption for a menu item.")) ((NAME . "Caption") (RIID . #x68030009) (OFFSET . #xd0) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("bRadio" "VT_BSTR")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets the caption for a menu item.")) ((NAME . "Header") (RIID . #x68030008) (OFFSET . #xd4) (RETURNS . "VT_BOOL")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets whether a menu item is drawn as a Text Header. Same as setting the first character of the menu item's caption to "-".")) ((NAME . "Header") (RIID . #x68030008) (OFFSET . #xd8) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("bRadio" "VT_BOOL")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets whether a menu item is drawn as a Text Header. Same as setting the first character of the menu item's caption to "-".")) ((NAME . "OwnerDraw") (RIID . #x68030007) (OFFSET . #xdc) (RETURNS . "VT_BOOL")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets whether the control should raise MeasureItem and DrawItem events before it is drawn, allowing you to override the default drawing style.")) ((NAME . "OwnerDraw") (RIID . #x68030007) (OFFSET . #xe0) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("bRadio" "VT_BOOL")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets whether the control should raise MeasureItem and DrawItem events before it is drawn, allowing you to override the default drawing style.")) ((NAME . "Default") (RIID . #x68030006) (OFFSET . #xe4) (RETURNS . "VT_BOOL")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets whether a menu item is drawn as a default selection (bolded).")) ((NAME . "Default") (RIID . #x68030006) (OFFSET . #xe8) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")("bRadio" "VT_BOOL")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets whether a menu item is drawn as a default selection (bolded).")) ((NAME . "Clear") (RIID . #x60030036) (OFFSET . #xec) (RETURNS . "VT_VOID")(PARAMS ) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Removes all menu items and clears up any resources associated with them.")) ((NAME . "ShowPopupMenu") (RIID . #x60030037) (OFFSET . #xf0) (RETURNS . "VT_I4")(PARAMS ("lLeft" "VT_I4")("lTop" "VT_I4")("lExcludeLeft" "VT_I4")("lExcludeTop" "VT_I4")("lExcludeRight" "VT_I4")("lExcludeBottom" "VT_I4")("bTryToKeepLeft" "VT_BOOL")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Shows the current Popup menu. This function returns the selected menu item index or 0 if nothing was selected.")) ((NAME . "ShowPopupMenuAtIndex") (RIID . #x60030038) (OFFSET . #xf4) (RETURNS . "VT_I4")(PARAMS ("lLeft" "VT_I4")("lTop" "VT_I4")("lExcludeLeft" "VT_I4")("lExcludeTop" "VT_I4")("lExcludeRight" "VT_I4")("lExcludeBottom" "VT_I4")("bTryToKeepLeft" "VT_BOOL")("lIndex" "VT_I4")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Shows a child Popup menu within the current menu. This function returns the selected menu item index or 0 if nothing was selected.")) ((NAME . "ShowPopupAbsolute") (RIID . #x60030039) (OFFSET . #xf8) (RETURNS . "VT_I4")(PARAMS ("lLeftPixel" "VT_I4")("lTopPixel" "VT_I4")("lIndex" "VT_I4")("bTryToKeepLeft" "VT_BOOL")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Shows a popup menu at an absolute position on the screen specified in pixels.")) ((NAME . "hMenu") (RIID . #x68030005) (OFFSET . #xfc) (RETURNS . "VT_I4")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Returns the Windows API menu handle for the menu in which a menu item is located. Do not call Windows API methods which modify the menu on this handle - you may disrupt the operation of the control. This value is only valid until the next call of Clear")) ((NAME . "TickIconIndex") (RIID . #x68030004) (OFFSET . #x100) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets a zero based index of an icon in the ImageList to use to override the default check marks in the menu. Set to -1 for the default.")) ((NAME . "TickIconIndex") (RIID . #x68030004) (OFFSET . #x104) (RETURNS . "VT_I4")(PARAMS ) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets a zero based index of an icon in the ImageList to use to override the default check marks in the menu. Set to -1 for the default.")) ((NAME . "OptionIconIndex") (RIID . #x68030003) (OFFSET . #x108) (RETURNS . "VT_VOID")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-SET ))(DESCRIPTION . "Gets/sets a zero based index of an icon in the ImageList to use to override the default radio (option) check marks in the menu. Set to -1 for the default.")) ((NAME . "OptionIconIndex") (RIID . #x68030003) (OFFSET . #x10c) (RETURNS . "VT_I4")(PARAMS ) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets/sets a zero based index of an icon in the ImageList to use to override the default radio (option) check marks in the menu. Set to -1 for the default.")) ((NAME . "CreateSubClass") (RIID . #x60030040) (OFFSET . #x110) (RETURNS . "VT_VOID")(PARAMS ("hWndA" "VT_PTR.VT_I4")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Enables menu subclassing, so that the Click event will fire.")) ((NAME . "DestroySubClass") (RIID . #x60030041) (OFFSET . #x114) (RETURNS . "VT_VOID")(PARAMS ) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Stops subclassing the menu.")) ((NAME . "MenuItemHeight") (RIID . #x68030002) (OFFSET . #x118) (RETURNS . "VT_I4")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets the height of a menu item.")) ((NAME . "MenuItemWidth") (RIID . #x68030001) (OFFSET . #x11c) (RETURNS . "VT_I4")(PARAMS ("lIndex" "VT_I4")) (FLAGS ( IS-GET ))(DESCRIPTION . "Gets the width of a menu item. The widest menu item within the menu actually sets the overall width of the menu.")))) ("cCirclePopupMenu" (TYPE . "Coclass")(GUID . "{AF91ACA2-6077-11D2-92EF-0000F822352E}")(ALIASES "_cCirclePopupMenu""_ISubclass""__cCirclePopupMenu") (FUNCTIONS )) ("__cCirclePopupMenu" (TYPE . "Dispinterface")(GUID . "{AF91ACA4-6077-11D2-92EF-0000F822352E}")(FUNCTIONS ((NAME . "Click") (RIID . #x00000001) (OFFSET . #x0) (RETURNS . "VT_VOID")(PARAMS ("ItemNumber" "VT_PTR.VT_I4")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Fired when a menu item is clicked AND the CreateSubClass method has been called since the menu was last shown. Normally the return value of the ShowPopupMenu event tells you which item is clicked.")) ((NAME . "ItemHighlight") (RIID . #x00000002) (OFFSET . #x0) (RETURNS . "VT_VOID")(PARAMS ("ItemNumber" "VT_PTR.VT_I4")("bEnabled" "VT_PTR.VT_BOOL")("bSeparator" "VT_PTR.VT_BOOL")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Raised when an item is highlighted in a pop-up menu.")) ((NAME . "MenuExit") (RIID . #x00000003) (OFFSET . #x0) (RETURNS . "VT_VOID")(PARAMS ) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Raised when a popup menu is exited.")) ((NAME . "InitPopupMenu") (RIID . #x00000004) (OFFSET . #x0) (RETURNS . "VT_VOID")(PARAMS ("ParentItemNumber" "VT_PTR.VT_I4")) (FLAGS ( IS-FUNCTION ))(DESCRIPTION . "Raised when a submenu is about to be shown. You can modify the pop-up menu's contents in this event without any problem.")) ((NAME . "DrawItem") (RIID . #x00000005) (OFFSET . #x0) (RETURNS . "VT_VOID")(PARAMS ("HDC" "VT_I4")("lMenuIndex" "VT_I4")("lLeft" "VT_PTR.VT_I4")("lTop" "VT_PTR.VT_I4")("lRight" "VT_PTR.VT_I4")("lBottom" "VT_PTR.VT_I4")("bSelected" "VT_BOOL")("bChecked" "VT_BOOL")("bDisabled" "VT_BOOL")("bDoDefault" "VT_PTR.VT_BOOL")) (FLAGS ( IS-FUNCTION ))) ((NAME . "MeasureItem") (RIID . #x00000006) (OFFSET . #x0) (RETURNS . "VT_VOID")(PARAMS ("lMenuIndex" "VT_I4")("lWidth" "VT_PTR.VT_I4")("lHeight" "VT_PTR.VT_I4")) (FLAGS ( IS-FUNCTION ))))) ("ECNMHeaderStyle" (TYPE . "Enum")(GUID . "{AF91ACA3-6077-11D2-92EF-0000F822352E}")(FUNCTIONS )) )))