how to get #322776(Dialog) class 's handle
C / C++ / MFC
4
Posts
3
Posters
0
Views
1
Watching
-
I think you mean
#32770
. You can useFindWindow()
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!
-
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
andEnumChildWindows
.