Dialog window class name?
-
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
-
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
-
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
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
-
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
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!
-
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
U can use the SPY++ utility which comes with VC++ to get these informations