Поделиться через


CWnd::OnFontChange

All top-level windows in the system receive an OnFontChange call from the framework after the application changes the pool of font resources.

afx_msg void OnFontChange( );

Заметки

An application that adds or removes fonts from the system (for example, through the AddFontResource or RemoveFontResource Windows function) should send the WM_FONTCHANGE message to all top-level windows.

To send this message, use the SendMessage Windows function with the hWnd parameter set to HWND_BROADCAST.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

AddFontResource

RemoveFontResource

SendMessage

WM_FONTCHANGE