Reputation: 66585
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!
Upvotes: 1
Views: 4575
Reputation: 4793
http://www.wikihow.com/Change-Fonts-in-Windows-Mobile-2003-Second-Edition
Upvotes: 0
Reputation:
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.
Upvotes: 0
Reputation: 67198
Colors are changed via SetBkColor and SetTextColor.
Here is an example of enumerating fonts.
Upvotes: 2