CanEasy COM-Help
CanEasy::ICanEasyMenuControl Interface Reference

Inherits IDispatch.

Detailed Description

Sub menu entry

interface ICanEasyMenuControl : IDispatch
{
HRESULT Type([out, retval] enum CanEasyMenuControlType *pType);
HRESULT Type([in] enum CanEasyMenuControlType enType);
HRESULT Id([out, retval] long *pId);
HRESULT Id([in] long lId);
HRESULT Text([out, retval] BSTR *pText);
HRESULT Text([in] BSTR sNewText);
HRESULT Checked([out, retval] VARIANT_BOOL *pFlag);
HRESULT Checked([in] VARIANT_BOOL boFlag);
HRESULT Grayed([out, retval] VARIANT_BOOL *pFlag);
HRESULT Grayed([in] VARIANT_BOOL boFlag);
HRESULT Menu([in] IMenu *pMenu);
HRESULT SubMenu([out, retval] IMenu **pMenu);
HRESULT SubMenu([in] IMenu *pMenu);
};

Definition at line 6498 of file cand_tlb.idl.

Property Documentation

◆ Checked

VARIANT_BOOL CanEasy::ICanEasyMenuControl::Checked
getset

Check state of the menu entry

◆ Grayed

VARIANT_BOOL CanEasy::ICanEasyMenuControl::Grayed
getset

Active state of the menu entry

◆ Id

long CanEasy::ICanEasyMenuControl::Id
getset

ID of the menu entry

◆ Menu

IMenu CanEasy::ICanEasyMenuControl::Menu
set

Sets a new menu reference

◆ SubMenu

IMenu CanEasy::ICanEasyMenuControl::SubMenu
getset

Creates new sub menu

◆ Text

BSTR CanEasy::ICanEasyMenuControl::Text
getset

Text of the menu entry

◆ Type

CanEasyMenuControlType CanEasy::ICanEasyMenuControl::Type
getset

Type of the menu entry

CanEasy::ICanEasyMenuControl::Text
BSTR Text
CanEasy::ICanEasyMenuControl::Menu
IMenu Menu
CanEasy::ICanEasyMenuControl::Id
long Id
CanEasy::CanEasyMenuControlType
CanEasyMenuControlType
The CanEasyMenuControlType enumeration defines type of a context menu entry.
Definition: cand_tlb.idl:389
CanEasy::ICanEasyMenuControl::Checked
VARIANT_BOOL Checked
CanEasy::ICanEasyMenuControl::Grayed
VARIANT_BOOL Grayed
CanEasy::ICanEasyMenuControl::Type
CanEasyMenuControlType Type
CanEasy::ICanEasyMenuControl::SubMenu
IMenu SubMenu