#include <UiStatic.h>
继承自UiWin。
被UiCaption、UiPicture及UiPicture2继承.
公有成员 | |
| 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 () |
| 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。
| 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