Board index » delphi » setting the Mouse cursor
Gino Costa
![]() Delphi Developer |
Tue, 18 May 2004 12:42:58 GMT
setting the Mouse cursor
Hello
I have put the statement (Delphi 6) Form1.Cursor := ccArrow; in the OnMouseUp handler and OnMouseUp gets called ok, and the cursor gets updated ok, but even when the cursor variable is updated as it should, the visible cursor itself does NOT change as it should. The statements on OnMouseMove all execute ok, and in that handler I checked if the right mouse button was pressed. If it was I set the cursor to crDrag, else I changed it to crArrow. Everything in OnMouseMove works 100% Question: How do I either a) change the mouse cursor back; I think there may be some kind of update I need to do after I change it back, go figure, or globally change the mouse cursor via the Mouse (type TMouse) variable. I already use Mouse.CursorPos quite successfully, but didn't see any way to handle the Cursor that way. I have spent time trying to fix this in many ways, etc. Hope someone can help Thanks, Gino -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- |