sudhakar_koundinya
asked on
Getting HWnd instance of Parent
Hi All,
I have HWND instance of a Dialog. Now I wanted to get the HWND instance of the parent. How can I get it??
Thanks
Sudhakar
I have HWND instance of a Dialog. Now I wanted to get the HWND instance of the parent. How can I get it??
Thanks
Sudhakar
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok I am accessing the dialogs of Microsoft Outlook using my application.
Using FindWindow I can access the dialogs. But the problem is Main Window will be in hidden mode. So to Work with Window Messages on that Dialog, I am thinking that I need to have Parent Window Instance also. That is the reason I am asking this question
Thanks
Sudhakar
Using FindWindow I can access the dialogs. But the problem is Main Window will be in hidden mode. So to Work with Window Messages on that Dialog, I am thinking that I need to have Parent Window Instance also. That is the reason I am asking this question
Thanks
Sudhakar
ASKER
Just one more question
can I get Dlg Id like this??
GetDlgCtrlID(hDlg)