HWND of my window

C

Carl Daniel [VC++ MVP]

--== Alain ==-- said:
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
 

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