Cómo hacer que los controles utilicen fuentes temáticas del sistema en la programación Win32
//Establecer parámetros de fuente
LOGFONT LogFont;
memset(&LogFont, 0, sizeof(LOGFONT)); LogFont.lfFaceName, L"Arial");
LogFont.lfWeight = FW_BLACK;//FW_NORMAL
LogFont.lfHeight = -24; p> LogFont.lfCharSet = 134;
LogFont.lfOutPrecision = 3;
LogFont.lfClipPrecision = 2
LogFont.lfOrientation = 45; >
LogFont.lfQuality = 1;
LogFont.lfPitchAndFamily = 2;
// Crear fuente
HFONT hFont = CreateFontIndirect(&LogFont); /p>
// Obtener el identificador de control
SendMessage(hwnd(identificador para cambiar la fuente), WM_SETFONT, (WPARAM)hFont, TRUE);