A
ACS
I have a C# application where I've grabbed a control's cursor handle
using the WINAPI function GetCursor(). This returned an IntPtr and I
want to check what type of cursor this is (arrow, sizing, hourglass,
etc.)
I've tried the following:
- Comparing the IntPtr to C#'s predefined cursor types (i.e.
Cursors.Arrow.CopyHandle())
- Comparing the IntPtr to another IntPtr obtained using the WINAPI
function LoadCursor
With different variations but none seem to work. Does anyone have any
ideas?
using the WINAPI function GetCursor(). This returned an IntPtr and I
want to check what type of cursor this is (arrow, sizing, hourglass,
etc.)
I've tried the following:
- Comparing the IntPtr to C#'s predefined cursor types (i.e.
Cursors.Arrow.CopyHandle())
- Comparing the IntPtr to another IntPtr obtained using the WINAPI
function LoadCursor
With different variations but none seem to work. Does anyone have any
ideas?