hWnd question...

C

craig

I am not sure that I understand what the Control.Handle value represents.
The MSDN documentation say that it is "the window handle that the control is
bound to." Does this mean that the handle is for the control itself or for
the control's parent form?

I am trying to call a Win32 API metohd that will set the scroll position of
UserControl. The method requires an hWnd, and I am wondering if the
control's base.Handle would give me that value.

Any insight would be appreciated.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top