Getting Window Handle of an Explorer Band
-
Hai all. I have created a Toolbar for Internet Explorer. I need to get the window handle of an Explorer Band(Created by me) in my tool bar. I know the class ID of the Explorer Band, and I am able to hide and unhide the Explorer Band using that Class ID , from the toolbar using ShowBrowserBar(&vtBandGUID, &vtShow, 0); function. But for my purpose, I need to get the window handle of the Explorer Band How I can Get the window handle?? . Please Help me Thanks George
-
Hai all. I have created a Toolbar for Internet Explorer. I need to get the window handle of an Explorer Band(Created by me) in my tool bar. I know the class ID of the Explorer Band, and I am able to hide and unhide the Explorer Band using that Class ID , from the toolbar using ShowBrowserBar(&vtBandGUID, &vtShow, 0); function. But for my purpose, I need to get the window handle of the Explorer Band How I can Get the window handle?? . Please Help me Thanks George
IWebBrowser2::get_HWND
gives you handle to main explorer window. UseEnumChildProc
,enumerates children using this handle. You should get any window you want.Prasad Notifier using ATL | Operator new[],delete[][^]
-
IWebBrowser2::get_HWND
gives you handle to main explorer window. UseEnumChildProc
,enumerates children using this handle. You should get any window you want.Prasad Notifier using ATL | Operator new[],delete[][^]
Hai Prasad , Thank you very much for ur reply . it helped me to rectify my problem. Thanks George
-
Hai Prasad , Thank you very much for ur reply . it helped me to rectify my problem. Thanks George
Welcome !
Prasad Notifier using ATL | Operator new[],delete[][^]