CNumPad类参考

Number input panel window. 更多...

#include <NumPad.h>

继承自CMzWndEx

所有成员的列表。

公有成员

 CNumPad (void)
BOOL GetKeybToneState (void)
HWND GetTargetWnd ()
BOOL OnInitDialog ()
 called by MZFC when the window (dialog) is created and initializing.
void OnMzCommand (WPARAM wParam, LPARAM lParam)
 called when the window receives MZFC's command message MZ_WM_COMMAND
void PlayKeySound (void)
void SetKeybToneState (BOOL state)
void SetTargetWnd (HWND hWndTarget)
 set the target window to receive the character input.
 ~CNumPad (void)

保护属性

UiPicture m_Bg
UiButton_Image m_btn0
UiButton_Image m_btn1
UiButton_Image m_btn2
UiButton_Image m_btn3
UiButton_Image m_btn4
UiButton_Image m_btn5
UiButton_Image m_btn6
UiButton_Image m_btn7
UiButton_Image m_btn8
UiButton_Image m_btn9
UiButton_Image m_btnBackSpace
HWND m_hWndTarget
ImagingHelper m_img0
ImagingHelper m_img1
ImagingHelper m_img2
ImagingHelper m_img3
ImagingHelper m_img4
ImagingHelper m_img5
ImagingHelper m_img6
ImagingHelper m_img7
ImagingHelper m_img8
ImagingHelper m_img9
ImagingHelper m_imgBackspace
ImagingHelper m_imgHighlight1
ImagingHelper m_imgHighlight2


详细描述

Number input panel window.

构造及析构函数文档

CNumPad::CNumPad ( void   ) 

CNumPad::~CNumPad ( void   ) 


成员函数文档

BOOL CNumPad::GetKeybToneState ( void   ) 

HWND CNumPad::GetTargetWnd (  ) 

BOOL CNumPad::OnInitDialog (  )  [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...
 // ...

返回:
FALSE: init failed, TRUE: init succeeded.
参见:
CMzWnd::Create()

重载CMzWndEx

void CNumPad::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

参见:
MZ_WM_COMMAND

重载CMzWnd

void CNumPad::PlayKeySound ( void   ) 

void CNumPad::SetKeybToneState ( BOOL  state  ) 

void CNumPad::SetTargetWnd ( HWND  hWndTarget  ) 

set the target window to receive the character input.


成员数据文档

UiPicture CNumPad::m_Bg [protected]

HWND CNumPad::m_hWndTarget [protected]


该类的文档由以下文件生成:

Generated at Fri Feb 20 15:17:30 2009 for Meizu M8 MZFC Documentation by 魅族手机