|
-
February 10th, 2000, 01:36 AM
#1
Internet Control & API
I'm having trouble trying to pass the handle of my internet control
to an API function. Intellisense for my internet control brings up the
handle HWND for all other controls it's hWnd. What if anything is the difference?
Thanks
-
February 10th, 2000, 04:07 AM
#2
Re: Internet Control & API
The INET control is a 'hidden' control (most likely just a bunch of api calls into the WinInet DLL) - I couldn't see (and didn't expect) a 'HWND' property as you stated in your post.
An HWND is a 'handle to a window' (a 'long' value) - this is assigned by the OS as soon as the 'window' is created. As the Inet control is a window-less control (just like the label control) it doesn't have one.
The Inet control does however return a 'hInternet' handle (I imagine this is the same as the 'hinternet' handles used in the WinInet DLL's).
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|