>I got the handle then i am passing
>Handle.IntPtr() to the c++ code. Basically in the c++ code i need to do
>
>GetWindowDC(). so i am pasing the integer instead of the HWIND. is this the
>correct way to do.
I don't understand your motivation for passing an integer instead of
the HWND.
>and also i want to know the height and width of the passed window handle in
>c++. how can i do that...
GetWindowRect
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.