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. how to get #322776(Dialog) class 's handle

how to get #322776(Dialog) class 's handle

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
4 Posts 3 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.
  • G Offline
    G Offline
    GflPower
    wrote on last edited by
    #1

    how to get #322776(Dialog) class 's handle d

    G 1 Reply Last reply
    0
    • G GflPower

      how to get #322776(Dialog) class 's handle d

      G Offline
      G Offline
      GflPower
      wrote on last edited by
      #2

      How to get #322770(Dialog) class 's handle d

      PJ ArendsP J 2 Replies Last reply
      0
      • G GflPower

        How to get #322770(Dialog) class 's handle d

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

        I think you mean #32770. You can use FindWindow() to find the window handle of a window with the dialog class, but you will need more information to find the window you are after as there is typically many dialogs open at the same time.

        HWND hWnd = FindWindow(_T("#32770"), _T("Dialog Caption"));


        [

        ](http://www.canucks.com)"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!

        Within you lies the power for good; Use it!

        1 Reply Last reply
        0
        • G GflPower

          How to get #322770(Dialog) class 's handle d

          J Offline
          J Offline
          Johan Rosengren
          wrote on last edited by
          #4

          That depends on if it's your own dialog, or someon eelses. Most likely, it's from another app, right? Then you might want to check FindWindow and - as you might not have the caption - EnumWindows and EnumChildWindows.

          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