Common Dialog Boxes
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
-
I need to figure out via a hwnd if the hwnd I have is a common dialog box. Is there a style, class, etc associated with common dialog boxes? I am only interested in the open and close dialog boxes. What is the best way to do this? Thanks Ralph Krausse
Using Spy++, it appears to me that there is no special class given to the Open and Save Dialog boxes, they are declared as the regular #32770 class, which is the identifier for the dialog class. There may be some other trick that you can employ, like test the title or something, but this will not be guaranteed to work, especially if you are testing in someone elses application.