Thread: CreateFont and CreateWindowEx

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

    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
Website Security Test