tags:

views:

102

answers:

1

Hi,

I'm writing a Office addin, and I need to reliably determine if win32 window handle is a handle of a VCL (a control or a form, whatsoever) of my Addin, or it's handle of any windows of Microsoft Office itself?

Thank you!

+3  A: 

You could use IsVCLControl in Controls unit. (documentation)

TOndrej
Thank you TOnDrej, it doesn't exist in earlier version of Delphi, however, on the page you provided I found FindControl, and I think I can utilize that function :)
Edwin