yans
asked on
Font Dialog
How do i set a font size..in CFontDialog
so it will be a default size when i call the dialog
so it will be a default size when i call the dialog
ASKER
Height of the font is not his size..
as i see there are a special way to set a size value...pls if you know how..
help me with it.
as i see there are a special way to set a size value...pls if you know how..
help me with it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i Tried that, it doesnt change the size of the diaolog,i put a value in it and nothing happends ,pls maybe youy can write some sample code,it will be very helpfull:)
thanks
thanks
LOGFONT lfInitial;
lfInitial.lfHeight = nSomeHeight;
// etc...
CFontDialog(&lfInitial, CF_EFFECTS | CF_SCREENFONTS, NULL, NULL);
dlg.DoModal();