Thread: wifth and height

  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,868
    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