Pass C# window to unmanaged C++

  • Thread starter Thread starter Achim Domma
  • Start date Start date
A

Achim Domma

Hi,

I'm developing a GUI in C# and want to let some unmanaged C++ code draw in
my window. How can I pass a C# window to unmanaged C++. The C++ code needs
the window handle to use 'old' Win32 GDI functions to draw into the window.

regards,
Achim
 
The C++ code needs the window handle to use 'old' Win32 GDI functions to draw into the window.

Windows Forms controls have a Handle property that provides that.



Mattias
 
Back
Top