Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. GET WINDOW PROPERTIES

GET WINDOW PROPERTIES

Scheduled Pinned Locked Moved C / C++ / MFC
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kedar dave
    wrote on last edited by
    #1

    how can i get the properties of a window(not created by a user application) by using the Window Handle? i know the Window Handle....which function to use to get the properties? regards, kedar.

    R 1 Reply Last reply
    0
    • K kedar dave

      how can i get the properties of a window(not created by a user application) by using the Window Handle? i know the Window Handle....which function to use to get the properties? regards, kedar.

      R Offline
      R Offline
      RicoH
      wrote on last edited by
      #2

      It depends on what properties you're looking for GetWindowText will give you the name in the titlebar GetWindowRect and GetClientRect will get size GetWindowLong can be used the see what styles the window has... you can enumerate all the child windows with EnumChildWindows There are lots of things you can do, so maybe you should check the msdn docs hope this helps Don't think you are, know you are...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups