Home All Groups Group Topic Archive Search About
Author
14 Oct 2006 8:56 PM
--== Alain ==--
Hi,

How under VC.NET can i get the handle of my window ?
thanks a lot,

Al.

Author
14 Oct 2006 11:41 PM
Carl Daniel [VC++ MVP]
--== Alain ==-- wrote:
> Hi,
>
> How under VC.NET can i get the handle of my window ?
> thanks a lot,

VC.NET is not a language, nor a windowing technology, so you really need to
ask a more precise question.

Since you're posting in a .NET framework newsgroup, I'll assume you're
asking "how can I access the window handle for a windows forms control using
managed C++?"

See the Control.Handle property.  Note that just about everything in the
System.Windows.Forms namespace derives from Control (forms, user controls,
standard controls - they all derive from control, so then all have a Handle
property).

-cd

AddThis Social Bookmark Button