|
LibUIDK Documentation
|
int GetTextFont(CFont ** ppFontN, CFont ** ppFontD);
得到控件的文本字体.
|
Parameters |
Description |
|
CFont ** ppFontN |
[out] 指向CFont类型的指针, 用来存储正常状态的字体. 如果不需要返回它, 可以设置为NULL. |
|
CFont ** ppFontD |
[out] 指向CFont类型的指针, 用来存储Disabled状态的字体, 如果不需要返回它, 可以设置为NULL. |
本控件支持正常状态和Disabled两种状态的字体设置. 本函数仅在支持显示文本时有效, 关于怎样显示文本, 请参考CSkinProgressCtrl::ShowText. 您应该使用SetTextFont而不是SetText来设置字体, 因为后者不支持Disabled字体设置.
|
Copyright (c) 2005-2008 iUIShop Technologies All rights reserved.
|