Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get sys font size?

Status
Not open for further replies.

avivhal

Programmer
Nov 14, 2001
9
NL
I need to open a CFormView window in a certain size depending on the system font definition.
How can I know if large fonts or small fonts are defined?

Thanks for the answer,
Aviv.
 
Check out the SystemParametersInfo API function.(3include windows.h)
See the parameters: SPI_GETFONTSMOOTHING, SPI_GETICONTITLELOGFONT.

HTH, s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top