Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CComMenu Class Reference

#include <ComMenu.h>

Inheritance diagram for CComMenu:

CComObject List of all members.

Public Member Functions

 CComMenu (HMENU hMenu, UINT nPosition=0xFFFFFFFF)
virtual ~CComMenu ()

Static Public Member Functions

static ISMenuWrap (HMENU hMenu, UINT nPosition=0xFFFFFFFF)

Public Attributes

HMENU m_hParent
HMENU m_hMenu
UINT m_nPosition

Protected Attributes

STDMETHOD( get_Application )(IApplication FAR *FAR *ppApplication)
STDMETHOD( get_UserInterface )(IUserInterface FAR *FAR *ppUserInterface)
STDMETHOD( get__NewEnum )(IUnknown FAR *FAR *ppEnum)
STDMETHOD( get_Item )(VARIANT vIndex, ISMenu FAR *FAR *ppMenu)
STDMETHOD( get_Count )(LONG FAR *pnCount)
STDMETHOD( get_ItemType )(SMenuType FAR *pnType)
STDMETHOD( get_CommandID )(LONG FAR *pnCommandID)
STDMETHOD( put_CommandID )(LONG nCommandID)
STDMETHOD( get_Text )(BSTR FAR *psText)
STDMETHOD( put_Text )(BSTR sText)
STDMETHOD( get_HotKey )(BSTR FAR *psText)
STDMETHOD( put_HotKey )(BSTR sText)
STDMETHOD( Remove )()
STDMETHOD( InsertSeparator )(LONG nPosition)
STDMETHOD( InsertMenu )(LONG nPosition, BSTR sText, ISMenu FAR *FAR *ppMenu)
STDMETHOD( InsertCommand )(LONG nPosition, LONG nCommandID, BSTR sText, ISMenu FAR *FAR *ppMenu)
STDMETHOD( Next )(THIS_ DWORD celt, VARIANT FAR *rgvar, DWORD FAR *pceltFetched)
STDMETHOD( Skip )(THIS_ DWORD celt)
STDMETHOD( Reset )(THIS)
STDMETHOD( Clone )(THIS_ IEnumVARIANT FAR *FAR *ppenum)
UINT m_nIndex

Constructor & Destructor Documentation

CComMenu::CComMenu HMENU  hMenu,
UINT  nPosition = 0xFFFFFFFF
 

Definition at line 47 of file ComMenu.cpp.

References NULL.

Referenced by Wrap().

CComMenu::~CComMenu  )  [virtual]
 

Definition at line 65 of file ComMenu.cpp.


Member Function Documentation

ISMenu * CComMenu::Wrap HMENU  hMenu,
UINT  nPosition = 0xFFFFFFFF
[static]
 

Definition at line 72 of file ComMenu.cpp.

References CComMenu(), and CComObject::GetInterface().


Member Data Documentation

STDMETHOD( CComMenu::Clone)(THIS_ IEnumVARIANT FAR *FAR *ppenum) [protected]
 

STDMETHOD( CComMenu::get__NewEnum)(IUnknown FAR *FAR *ppEnum) [protected]
 

STDMETHOD( CComMenu::get_Application)(IApplication FAR *FAR *ppApplication) [protected]
 

STDMETHOD( CComMenu::get_CommandID)(LONG FAR *pnCommandID) [protected]
 

STDMETHOD( CComMenu::get_Count)(LONG FAR *pnCount) [protected]
 

STDMETHOD( CComMenu::get_HotKey)(BSTR FAR *psText) [protected]
 

STDMETHOD( CComMenu::get_Item)(VARIANT vIndex, ISMenu FAR *FAR *ppMenu) [protected]
 

STDMETHOD( CComMenu::get_ItemType)(SMenuType FAR *pnType) [protected]
 

STDMETHOD( CComMenu::get_Text)(BSTR FAR *psText) [protected]
 

STDMETHOD( CComMenu::get_UserInterface)(IUserInterface FAR *FAR *ppUserInterface) [protected]
 

STDMETHOD( CComMenu::InsertCommand)(LONG nPosition, LONG nCommandID, BSTR sText, ISMenu FAR *FAR *ppMenu) [protected]
 

STDMETHOD( CComMenu::InsertMenu)(LONG nPosition, BSTR sText, ISMenu FAR *FAR *ppMenu) [protected]
 

STDMETHOD( CComMenu::InsertSeparator)(LONG nPosition) [protected]
 

HMENU CComMenu::m_hMenu
 

Definition at line 38 of file ComMenu.h.

HMENU CComMenu::m_hParent
 

Definition at line 37 of file ComMenu.h.

UINT CComMenu::m_nIndex [protected]
 

Definition at line 72 of file ComMenu.h.

UINT CComMenu::m_nPosition
 

Definition at line 39 of file ComMenu.h.

STDMETHOD( CComMenu::Next)(THIS_ DWORD celt, VARIANT FAR *rgvar, DWORD FAR *pceltFetched) [protected]
 

STDMETHOD( CComMenu::put_CommandID)(LONG nCommandID) [protected]
 

STDMETHOD( CComMenu::put_HotKey)(BSTR sText) [protected]
 

STDMETHOD( CComMenu::put_Text)(BSTR sText) [protected]
 

STDMETHOD( CComMenu::Remove)() [protected]
 

STDMETHOD( CComMenu::Reset)(THIS) [protected]
 

STDMETHOD( CComMenu::Skip)(THIS_ DWORD celt) [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:04 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2