I think fonts are part of the theme, so it will use those instead of the one you pass.
To remove a theme from a window, call
SetWindowTheme(hwnd, L"", L"");
where hwnd is the hwnd of your button.
See if that works?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 18
Thread: Font for CButtonThreaded View
|
Click Here to Expand Forum to Full Width |