Hi,
Does anyone know how to set font and color on a static text and other controls of MFC dialog for Windows Mobile?
Where can I get the list of supported fonts?
Thanks!
From stackoverflow
-
Colors are changed via SetBkColor and SetTextColor.
Here is an example of enumerating fonts.
-
It depends on the control, but take a look at the Windows messages starting with WM_CTLCOLOR (e.g., WM_CTLCOLORSTATIC). For the fonts, use EnumFontFamilies.
-
http://www.wikihow.com/Change-Fonts-in-Windows-Mobile-2003-Second-Edition
0 comments:
Post a Comment