I'm using CreateWindowEx to create a static control. Is there anyway that can be calculate the exact dimensions that should be use in the control so CreateFont displays the static's caption propertly?
Thanks
This is a discussion on CreateFont and CreateWindowEx within the Windows Programming forums, part of the Platform Specific Boards category; I'm using CreateWindowEx to create a static control. Is there anyway that can be calculate the exact dimensions that should ...
I'm using CreateWindowEx to create a static control. Is there anyway that can be calculate the exact dimensions that should be use in the control so CreateFont displays the static's caption propertly?
Thanks
* Debian 6.0.1 on Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM.
* lighttpd, php5, perl, eruby, python.
* geany, XHTML & CSS & JavaScript, C, C++.
* GTK+ C & perl-gtk2
GetTextExtentPoint