A Journey 2 Eternity

Set Default Font to any MFC Control

Posted on: November 26, 2007

// Set the Default font to the Window

::SendMessage(this->m_hWnd, WM_SETFONT, WPARAM(GetStockObject(DEFAULT_GUI_FONT)), LPARAM(TRUE));
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Pages

Categories

November 2007
M T W T F S S
    Dec »
 1234
567891011
12131415161718
19202122232425
2627282930  

Blog Stats

  • 27,176 hits
%d bloggers like this: