LibUIDK Documentation
ContentsIndexHome
PreviousUpNext
CSkinHeaderCtrl::GetTextFont Method
C++
void GetTextFont(CFont ** ppFontN, CFont ** ppFontD = NULL);

得到控件的文本字体.

Parameters 
Description 
CFont ** ppFontN 
[out] 指向CFont类型的指针, 用来存储正常状态的字体. 如果不需要返回它, 可以设置为NULL. 
CFont ** ppFontD = NULL 
[out] 指向CFont类型的指针, 用来存储Disabled状态的字体, 如果不需要返回它, 可以设置为NULL. 

本控件支持正常状态和Disabled两种状态的字体设置. 本函数是用来代替GetFont的. 本控件使用SetTextFont而非SetFont来设置字体, 因为后者不支持Disabled状态的字体设置.