Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Ctrl::OverrideCursor
Re: Ctrl::OverrideCursor [message #14351 is a reply to message #14348] |
Sat, 23 February 2008 11:57 |
Tom1
Messages: 1216 Registered: March 2007
|
Senior Contributor |
|
|
Sorry, I was inaccurate in my explanation. The problem requires that the OverrideCursor() is called from a context menu callback function to NOT to work. (I only thought of it as being a mouse operation as I used the mouse right clicking to open the context menu.)
Anyway, my fix does not appear to work on Linux as SetMouseCursor can not be called in static member funtion OverrideCursor without an object.
The reason the DoCursorShape does not work in this context is probably because the DoCursorShape requires an existing "mouseCtrl" which is not true in this case. So, I guess a proper fix would require a way to bypass a nonexistent mouseCtrl for an overridden mouse cursor. Or what do you think Mirek?
// Tom
|
|
|
Goto Forum:
Current Time: Mon May 13 17:57:42 CEST 2024
Total time taken to generate the page: 0.02718 seconds
|