wifth and height

This is a discussion on wifth and height within the Windows Programming forums, part of the Platform Specific Boards category; i know it is a stupid question...but how can i get the width and height of a control?(button,static...) thnx...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    36

    wifth and height

    i know it is a stupid question...but how can i get the width and height of a control?(button,static...)


    thnx
    Time for TOTAL WAR

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    GetWindowRect()

    GetClientRect()

    and to get the HWND

    GetWindow() or GetDlgItem()
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    36

    merix

    merci merci
    Time for TOTAL WAR

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