|
Windows C++ Library
|
#include <Menu.hpp>
Public Member Functions | |
| CMenu () | |
| CMenu (HMENU hMenu) | |
| virtual | ~CMenu () |
| HMENU | Handle () const |
| void | InsertCmd (uint nPos, uint iCmdID, const tchar *pszText) |
| void | AppendCmd (uint iCmdID, const tchar *pszText) |
| void | SetCmdText (uint iCmdID, const tchar *pszText) |
| void | EnableCmd (uint iCmdID, bool bEnable=true) |
| void | CheckCmd (uint iCmdID, bool bCheck=true) |
| void | RemoveCmd (uint iCmdID) |
| int | ItemCount () const |
| void | EnableItem (int nPos, bool bEnable=true) |
| CString | GetItemText (int nPos) |
| CPopupMenu | GetItemPopup (int nPos) |
| void | SetItemPopup (int nPos, const CPopupMenu &rMenu, const tchar *pszText) |
| void | RemoveItem (int nPos) |
Protected Attributes | |
| HMENU | m_hMenu |
Private Member Functions | |
| CMenu (const CMenu &) | |
| CMenu & | operator= (const CMenu &) |
| CMenu::CMenu | ( | ) |
| CMenu::CMenu | ( | HMENU | hMenu | ) |
| CMenu::~CMenu | ( | ) | [virtual] |
| CMenu::CMenu | ( | const CMenu & | ) | [private] |
| HMENU CMenu::Handle | ( | ) | const [inline] |
| void CMenu::InsertCmd | ( | uint | nPos, |
| uint | iCmdID, | ||
| const tchar * | pszText | ||
| ) | [inline] |
| void CMenu::AppendCmd | ( | uint | iCmdID, |
| const tchar * | pszText | ||
| ) | [inline] |
| void CMenu::SetCmdText | ( | uint | iCmdID, |
| const tchar * | pszText | ||
| ) | [inline] |
| void CMenu::EnableCmd | ( | uint | iCmdID, |
| bool | bEnable = true |
||
| ) | [inline] |
| void CMenu::CheckCmd | ( | uint | iCmdID, |
| bool | bCheck = true |
||
| ) | [inline] |
| void CMenu::RemoveCmd | ( | uint | iCmdID | ) | [inline] |
| int CMenu::ItemCount | ( | ) | const [inline] |
| void CMenu::EnableItem | ( | int | nPos, |
| bool | bEnable = true |
||
| ) | [inline] |
| CString CMenu::GetItemText | ( | int | nPos | ) |
| CPopupMenu CMenu::GetItemPopup | ( | int | nPos | ) |
| void CMenu::SetItemPopup | ( | int | nPos, |
| const CPopupMenu & | rMenu, | ||
| const tchar * | pszText | ||
| ) |
| void CMenu::RemoveItem | ( | int | nPos | ) | [inline] |
HMENU CMenu::m_hMenu [protected] |
1.7.6.1