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
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
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.
GetTextExtentPoint