HWND of my window

  • Thread starter Thread starter --== Alain ==--
  • Start date Start date
--== 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
 
Back
Top