#include <UiReceiverItem.h>
继承自UiWin。
公有成员 | |
| void | CalWidth () |
| LPCTSTR | GetAddress () |
| MZFC_INLINE CEOID | GetContactOid () |
| MZFC_INLINE int | GetWinWidth () |
| virtual int | OnChar (TCHAR chCharCode, LPARAM lKeyData) |
| call when a keyboard character key is pressed.(only when the control has focus) | |
| void | OnFocusd () |
| void | OnLostFocus () |
| void | PaintWin (HDC hdc, RECT *prcWin, RECT *prcUpdate) |
| Draw the control on the destinate DC. | |
| void | SetAddress (LPCTSTR addr) |
| void | SetContactOid (CEOID oid) |
| void | SetMaxWidth (int n) |
| UiReceiverItem (void) | |
| virtual | ~UiReceiverItem (void) |
| UiReceiverItem::UiReceiverItem | ( | void | ) |
| virtual UiReceiverItem::~UiReceiverItem | ( | void | ) | [virtual] |
| void UiReceiverItem::CalWidth | ( | ) |
| LPCTSTR UiReceiverItem::GetAddress | ( | ) |
| MZFC_INLINE CEOID UiReceiverItem::GetContactOid | ( | ) |
| MZFC_INLINE int UiReceiverItem::GetWinWidth | ( | ) |
| virtual int UiReceiverItem::OnChar | ( | TCHAR | chCharCode, | |
| LPARAM | lKeyData | |||
| ) | [virtual] |
| void UiReceiverItem::OnFocusd | ( | ) |
| void UiReceiverItem::OnLostFocus | ( | ) |
| void UiReceiverItem::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。
| void UiReceiverItem::SetAddress | ( | LPCTSTR | addr | ) |
| void UiReceiverItem::SetContactOid | ( | CEOID | oid | ) |
| void UiReceiverItem::SetMaxWidth | ( | int | n | ) |