Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Ctrl::OverrideCursor
Re: Ctrl::OverrideCursor [message #14319 is a reply to message #9219] |
Fri, 22 February 2008 14:14 |
Tom1
Messages: 1214 Registered: March 2007
|
Senior Contributor |
|
|
Hi,
Ctrl::OverrideCursor() does not seem to react immediately (at least on Vista) but instead requires control to be returned to the system. I added SetMouseCursor(m) call to the CtrlMouse.cpp as follows and got immediate response:
Image Ctrl::OverrideCursor(const Image& m)
{
Image om = CursorOverride();
CursorOverride() = m;
DoCursorShape();
SetMouseCursor(m); // Added by tom
return om;
}
If you think it does not mess up anything else in UPP, please add it to the source. (The reason for immediate response requirement is that I need to show a wait cursor when processing some lengthy user mouse input requests.
// Tom
|
|
|
Goto Forum:
Current Time: Sun May 12 23:09:04 CEST 2024
Total time taken to generate the page: 0.02603 seconds
|