By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 915 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Get the window handle of an HTML control????

P: 15

I'm using mshtml to control a site through the browser.

I'd like to be able to get the Handle (HWND) of any HTML control type (TextBox, dropdown, checkbox, list, etc, etc...)

I tried casting the htmlelement type as a Control type but that doesn't work.

None of the html or ihtml types from mshtml seem to have a pointer or handle associated that you can get from the control, unless I'm missing something.

Anyone have any ideas?

Thanks for any advice!!
Apr 23 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.