
Set font size in CFontDialog
I used LOGFONT to initialize CFontDialog control settings. I tried to
assign a certain number to the font size control, but was unable to assign a
fixed number, such as 11, that I desired. In LOGFONT, the lfHeight member
uses logical unit, while the CFontDialog returns size in point. I could not
always set the desired point value from a corresponding lfHeight. Some size
values would simply be off by 1 point.
Regards,
Richard L. Chen