CreateFont and CreateWindowEx

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 ...

  1. #1
    Registered User Joelito's Avatar
    Join Date
    Mar 2005
    Location
    Tijuana, BC, México
    Posts
    307

    Red face CreateFont and CreateWindowEx

    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.

  2. #2
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    GetTextExtentPoint

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21