C/Visual C - Cambiar fuente Radio Button

 
Vista:

Cambiar fuente Radio Button

Publicado por Olga  (1 intervención) el 19/06/2008 12:51:17
Hola
Tengo el siguiente código:

CFont m_newFont;
LOGFONT LogFont;
m_newFont.CreateStockObject(DEFAULT_GUI_FONT);
m_newFont.GetLogFont(&LogFont);
strcpy(LogFont.lfFaceName,"Comic Sans MS");
LogFont.lfWeight = 800;
LogFont.lfHeight = 900;
m_newFont.DeleteObject();
m_newFont.CreateFontIndirect(&LogFont);

GetDlgItem(IDC_RADIO26)->SetFont(&m_newFont);

Consigo que me modifique la fuente un poco mas negrita, pero no consigo que cambie el tamaño de esta, y tampoco me asigna la fuente Comic Sans MS. Cuando hago el mismo código en un objeto etiqueta me lo hace sin problemas.

Alguien me puede ayudar?

gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder