Hi Julian,

> Guys I need to get the handle (Hwnd) of a 3rd party
> OCX I use in my own app. Any ideas of which API 
> calls to check out?

Depends on the OCX, some expose them accidentally through other
methods, and some, based on the way they are instantiated, can use
generic usercontrol style properties.

For an API solution I would EnumChildWindows of the form until I got
the right one.

Regards,

Shawn K. Hall
http://12PointDesign.com/
http://ReliableAnswers.com/

'// ========================================================
   "The philosophy in the classroom of one generation will
    be the philosophy of government in the next."
        -- Abraham Lincoln





'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to