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. Having some HWND trouble

Having some HWND trouble

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
2 Posts 2 Posters 9 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.
  • V Offline
    V Offline
    Vega
    wrote on last edited by
    #1

    i'm looking to find an HWND for a stationary Dialog box this is what SPY++ gives me WINDOW: 000004AC TEXT: "" CLASS: #32770(Dialog) STYLE: 50000044 RECT: 6,380)-(598,524) 592x144 THREAD ID: FFFCB805 PROCESS ID: FFFCBFC9 is there anyway i can find the HWND or a CWnd to this dialog box, and veryify it with this or any way i can get the mainwindow, and follow through, to this dialog? it doesnt matter if its MFC or winAPI Just need a way to get to this HWND any help would be great regards!

    C 1 Reply Last reply
    0
    • V Vega

      i'm looking to find an HWND for a stationary Dialog box this is what SPY++ gives me WINDOW: 000004AC TEXT: "" CLASS: #32770(Dialog) STYLE: 50000044 RECT: 6,380)-(598,524) 592x144 THREAD ID: FFFCB805 PROCESS ID: FFFCBFC9 is there anyway i can find the HWND or a CWnd to this dialog box, and veryify it with this or any way i can get the mainwindow, and follow through, to this dialog? it doesnt matter if its MFC or winAPI Just need a way to get to this HWND any help would be great regards!

      C Offline
      C Offline
      chrisd
      wrote on last edited by
      #2

      The Window line (WINDOW:000004AC) is the HWND of the Dialog. HTH, Chris ================== The original message was: i'm looking to find an HWND for a stationary Dialog box
      this is what SPY++ gives me

      WINDOW: 000004AC
      TEXT: ""
      CLASS: #32770(Dialog)
      STYLE: 50000044
      RECT: 6,380)-(598,524) 592x144
      THREAD ID: FFFCB805
      PROCESS ID: FFFCBFC9

      is there anyway i can find the HWND or a CWnd to this dialog box, and veryify it with this
      or any way i can get the mainwindow, and follow through, to this dialog?
      it doesnt matter if its MFC or winAPI
      Just need a way to get to this HWND
      any help would be great
      regards!

      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