Aha .... Thanks Shawn

I see.... use enumChildWindows to drill down. Great, thanks

Julian

  -----Original Message-----
  From: Shawn K. Hall [mailto:[EMAIL PROTECTED]
  Sent: 01 February 2005 23:06
  To: [email protected]
  Subject: RE: [vbhelp] Get a handle to a 3rd party app?


  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

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

    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]




'// =======================================================
    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