Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get the cursor style

Status
Not open for further replies.

SJA

Technical User
Nov 27, 2000
15
0
0
GB
Can anybody please tell me an API function which will return the current cursor style. I specifically want to know when the cursor changes to one of the resize identifiers:-

IDC_SIZENESW
IDC_SIZENS
IDC_SIZENWSE
IDC_SIZEWE

Many thanks.
 
Oh dear, it's so embarrassing when you reply to your own question. After hours of research on MSDN etc the method is simple. Use the GetCursor () function. Microsoft say it returns a handle to the cursor. A handle which changes depending on the cursor type.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top