idk why..but uh, checkmenuitem doesn't check the menu item. lol
hfont doesn't change the font. maybe i can create one? like 10 pt times new roman (weight) thin ?
thanks i found that out...along with SendDlgItemMessage()
also, this code does nothing
Code:
HFONT hfont;
int nHeight = 10, nWidth, nEscapement = 0, nOrientation = 0, fnWeight = 100;
hfont = CreateFont (
nHeight, // height of font
0, // average character width
nEscapement, // angle of escapement
nOrientation, // base-line orientation angle
fnWeight, // font weight
FALSE, // italic attribute option
FALSE, // underline attribute option
FALSE, // strikeout attribute option
DEFAULT_CHARSET, // character set identifier
OUT_DEFAULT_PRECIS, // output precision
CLIP_DEFAULT_PRECIS, // clipping precision
DEFAULT_QUALITY, // output quality
DEFAULT_PITCH, // pitch and family
null // typeface name
);
// Send this message to each control
SendMessage(hwnd, WM_SETFONT, 0, (LPARAM)hfont);
DeleteObject(hfont);
*is clueless*