#include <PopupMenu.h>
继承自CMzWndEx。
公有成员 | |
| void | AddItem (struct PopupMenuItemProp &pmip) |
| CPopupMenu (const TCHAR *pString=NULL) | |
| int | GetHeight () |
| get the height of the window | |
| virtual LRESULT | MzDefWndProc (UINT message, WPARAM wParam, LPARAM lParam) |
| virtual BOOL | OnInitDialog (void) |
| called by MZFC when the window (dialog) is created and initializing. | |
| virtual void | OnMzCommand (WPARAM wParam, LPARAM lParam) |
| called when the window receives MZFC's command message MZ_WM_COMMAND | |
| virtual void | OnSettingChange (DWORD wFlag, LPCTSTR pszSectionName) |
| called when received WM_SETTINGCHANGE | |
| void | PaintWin (HDC hdc, RECT *prcUpdate=NULL) |
| called when the window needs paint or update. | |
| virtual | ~CPopupMenu (void) |
| CPopupMenu::CPopupMenu | ( | const TCHAR * | pString = NULL |
) |
| virtual CPopupMenu::~CPopupMenu | ( | void | ) | [virtual] |
| void CPopupMenu::AddItem | ( | struct PopupMenuItemProp & | pmip | ) |
| int CPopupMenu::GetHeight | ( | ) | [inline] |
| virtual LRESULT CPopupMenu::MzDefWndProc | ( | UINT | message, | |
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [virtual] |
the window's message processing function.
重载CMzWndEx。
| virtual BOOL CPopupMenu::OnInitDialog | ( | void | ) | [virtual] |
called by MZFC when the window (dialog) is created and initializing.
Derived class must override this member function to do your own initializations, and must called the following first:
if(!CMzWndEx::OnInitDialog()) return FALSE; // add your initialise code below... // ...
重载CMzWndEx。
| virtual void CPopupMenu::OnMzCommand | ( | WPARAM | wParam, | |
| LPARAM | lParam | |||
| ) | [virtual] |
called when the window receives MZFC's command message MZ_WM_COMMAND
override this member to process your UI's command
重载CMzWnd。
| virtual void CPopupMenu::OnSettingChange | ( | DWORD | wFlag, | |
| LPCTSTR | pszSectionName | |||
| ) | [virtual] |
| void CPopupMenu::PaintWin | ( | HDC | hdc, | |
| RECT * | prcUpdate = NULL | |||
| ) | [virtual] |