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. Dialog window class name?

Dialog window class name?

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 Posts 5 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.
  • 0 Offline
    0 Offline
    0v3rloader
    wrote on last edited by
    #1

    Hello, Can someone tell me what the class name of a dialog box is? The problem is I need to find a specific window and the only two things I know are: - it is a dialog box (modeless); - and its window title (static-never-changing string); Also, if you think there is a better (more correct) way of doing this, please do let me know! Thank you, Dave

    M D J S 4 Replies Last reply
    0
    • 0 0v3rloader

      Hello, Can someone tell me what the class name of a dialog box is? The problem is I need to find a specific window and the only two things I know are: - it is a dialog box (modeless); - and its window title (static-never-changing string); Also, if you think there is a better (more correct) way of doing this, please do let me know! Thank you, Dave

      M Offline
      M Offline
      mfcuser
      wrote on last edited by
      #2

      About using spy++ and drag the dialog application to spy++ window.

      1 Reply Last reply
      0
      • 0 0v3rloader

        Hello, Can someone tell me what the class name of a dialog box is? The problem is I need to find a specific window and the only two things I know are: - it is a dialog box (modeless); - and its window title (static-never-changing string); Also, if you think there is a better (more correct) way of doing this, please do let me know! Thank you, Dave

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        dNimrod#X wrote: Can someone tell me what the class name of a dialog box is? #32770 dNimrod#X wrote: Also, if you think there is a better (more correct) way of doing this, please do let me know! By sending a window a WM_GETTEXT message, you risk entering a deadlock state if that window is in a blocked state (i.e., its message pump is not processing messages). I'm not saying that will happen to you here, but it is something you need to consider.


        "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

        1 Reply Last reply
        0
        • 0 0v3rloader

          Hello, Can someone tell me what the class name of a dialog box is? The problem is I need to find a specific window and the only two things I know are: - it is a dialog box (modeless); - and its window title (static-never-changing string); Also, if you think there is a better (more correct) way of doing this, please do let me know! Thank you, Dave

          J Offline
          J Offline
          Jorgen Sigvardsson
          wrote on last edited by
          #4

          dNimrod#X wrote: Can someone tell me what the class name of a dialog box is? You should try the excellent Spy++ tool which comes with visual studio. It's called spyxx.exe, and it lets you inspect any window. Just hit ALT+F3 when it's started, and a dialog with blue/white icon will show up. Just drag the icon onto any window it'll highlight the window you selected in the tree view. Double click the treeview item or right click it. You can even spy on window messages for any window which is really handy sometimes. Have fun exploring! :) -- Arigato gozaimashita!

          1 Reply Last reply
          0
          • 0 0v3rloader

            Hello, Can someone tell me what the class name of a dialog box is? The problem is I need to find a specific window and the only two things I know are: - it is a dialog box (modeless); - and its window title (static-never-changing string); Also, if you think there is a better (more correct) way of doing this, please do let me know! Thank you, Dave

            S Offline
            S Offline
            Sujan Christo
            wrote on last edited by
            #5

            U can use the SPY++ utility which comes with VC++ to get these informations

            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