Click to See Complete Forum and Search --> : Function to get the hWnd parameter of an ActiveX


Off
August 12th, 2001, 06:23 PM
Hi!,

i would like to know a way to find the handle (hWnd) of an ActiveX.

Thanks in advance.

Clearcode
August 13th, 2001, 04:09 AM
There are various 'spy' programs that allow you to find an ActiveX control's class name which you can then put into the FindWindowEx API call which returns the hWnd.

Hope this helps,
Duncan

-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.