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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. HWND of a control. [modified]

HWND of a control. [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
3 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.
  • F Offline
    F Offline
    FISH786
    wrote on last edited by
    #1

    //This gives me HWND to the external app HWND hWnd = ::FindWindow(NULL, "TEST"); From hWnd, how do i get the HWND for a picture control in that application? From Spy I get "Window 000406F2 "" Static" It has a control id of 000003E8 Can someone please help? Thanks a million.

    modified on Sunday, August 23, 2009 9:36 AM

    PJ ArendsP 1 Reply Last reply
    0
    • F FISH786

      //This gives me HWND to the external app HWND hWnd = ::FindWindow(NULL, "TEST"); From hWnd, how do i get the HWND for a picture control in that application? From Spy I get "Window 000406F2 "" Static" It has a control id of 000003E8 Can someone please help? Thanks a million.

      modified on Sunday, August 23, 2009 9:36 AM

      PJ ArendsP Offline
      PJ ArendsP Offline
      PJ Arends
      wrote on last edited by
      #2

      EnumChildWindows()


      You may be right I may be crazy -- Billy Joel -- Within you lies the power for good - Use it!

      Within you lies the power for good; Use it!

      F 1 Reply Last reply
      0
      • PJ ArendsP PJ Arends

        EnumChildWindows()


        You may be right I may be crazy -- Billy Joel -- Within you lies the power for good - Use it!

        F Offline
        F Offline
        FISH786
        wrote on last edited by
        #3

        Thank you.

        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