UiStatic类参考

Static control 更多...

#include <UiStatic.h>

继承自UiWin

UiCaptionUiPictureUiPicture2继承.

所有成员的列表。

公有成员

MZFC_INLINE int GetLeftMargin ()
MZFC_INLINE int GetMargin ()
void PaintWin (HDC hdc, RECT *prcWin, RECT *prcUpdate)
 Draw the control on the destinate DC.
MZFC_INLINE void SetLeftMargin (int nLeftMargin)
 the text margin to left edge of the control(if set zero, then the SetMargin has no effect)
MZFC_INLINE void SetMargin (int nMargin)
 set the text margin of text drawing and control's edge
 UiStatic ()
virtual ~UiStatic ()


详细描述

Static control

构造及析构函数文档

UiStatic::UiStatic (  ) 

virtual UiStatic::~UiStatic (  )  [virtual]


成员函数文档

MZFC_INLINE int UiStatic::GetLeftMargin (  ) 

MZFC_INLINE int UiStatic::GetMargin (  ) 

void UiStatic::PaintWin ( HDC  hdcDst,
RECT *  prcWin,
RECT *  prcUpdate 
) [virtual]

Draw the control on the destinate DC.

Override this member function to define your own drawings of the control

参数:
hdcDst Destinate device contact
prcWin The Rect of the control(hdc 's left-top is the origin)
prcUpdate Rect of the hdc that need to be update(hdc 's left-top is the origin)

重载UiWin

UiCaptionUiPictureUiPicture2重载。

MZFC_INLINE void UiStatic::SetLeftMargin ( int  nLeftMargin  ) 

the text margin to left edge of the control(if set zero, then the SetMargin has no effect)

MZFC_INLINE void UiStatic::SetMargin ( int  nMargin  ) 

set the text margin of text drawing and control's edge


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

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