M
Matt
Hi
I am looking for a way in C# to use a IntPtr handle to a (possibly
unmanaged) windows form to get the current position of the window on
the desktop. I have tried using Form.FromHandle( handle ) but this
does not work for non .NET windows.
I am expecting to need to use SendMessage somewhere along the line,
but cannot find the correct message to get the window position. Also,
is there a way to perform simple operations on a window such as
BringToFront?
Any help would be very much appreciated!
Many Thanks
Matt
I am looking for a way in C# to use a IntPtr handle to a (possibly
unmanaged) windows form to get the current position of the window on
the desktop. I have tried using Form.FromHandle( handle ) but this
does not work for non .NET windows.
I am expecting to need to use SendMessage somewhere along the line,
but cannot find the correct message to get the window position. Also,
is there a way to perform simple operations on a window such as
BringToFront?
Any help would be very much appreciated!
Many Thanks
Matt