Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Ctrl::OverrideCursor
Re: Ctrl::OverrideCursor [message #14355 is a reply to message #14351] Sat, 23 February 2008 15:44 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13979
Registered: November 2005
Ultimate Member
Tom1 wrote on Sat, 23 February 2008 05:57

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



I think you should provide a testcase to demonstrate the problem Wink

(if there is no mouseCtrl, it means that mouse cursor is over non-U++ window, so U++ is not responsible for its shape... or demonstrate with testcase why it should be.... Smile

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SDL updated from 1.2.12 to 1.2.13
Next Topic: to_string, to_wstring
Goto Forum:
  


Current Time: Mon May 13 11:16:59 CEST 2024

Total time taken to generate the page: 0.02970 seconds