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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get current mouse cursor

Status
Not open for further replies.

Nordlund

Programmer
Jul 17, 2001
458
SE
Hi there.

I'm look ing for a way to get the current mouse cursor.
For example, in A StringGrid, on MouseMove, I want to fire an event when the mouse is pointing on the resize bars.

Or explained in another way. On MouseMove, I want to do something when the cursor changes.




//Nordlund
 
I souhld get a star for this, But I cant give myself a star :)


// if you want to do something when the cursor is at "Horizontal Split" state

if GetCursor = Screen.Cursors[crHSplit] then
...


//Nordlund
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top