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 » U++ Library support » U++ Library : Other (not classified elsewhere) » [BUG] DnD Cursor flicker
[BUG] DnD Cursor flicker [message #14529] Fri, 29 February 2008 11:42 Go to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
In the latest SVN revision (167) if you start a drag-drop operation then move the cursor out of the source window the cursor flickers horribly.

This happen on every ctrl I've tested on, including reference examples.

Tested on WinXP, MSVC.
Re: [BUG] DnD Cursor flicker [message #14559 is a reply to message #14529] Mon, 03 March 2008 19:21 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
mrjt wrote on Fri, 29 February 2008 05:42

In the latest SVN revision (167) if you start a drag-drop operation then move the cursor out of the source window the cursor flickers horribly.

This happen on every ctrl I've tested on, including reference examples.

Tested on WinXP, MSVC.


Ha, the price for fixing OverrideCursor Smile

Mirek
Re: [BUG] DnD Cursor flicker [message #14560 is a reply to message #14559] Mon, 03 March 2008 19:36 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Fix:

void    Ctrl::DoCursorShape() {
	Image m = CursorOverride();
	if(IsNull(m))
		if(mouseCtrl)
			SetMouseCursor(mouseCtrl->MEvent0(CURSORIMAGE, mousepos, 0));
		else
			SetMouseCursor(Image::Arrow());
	else
		SetMouseCursor(m);
}
Previous Topic: more functions which use keys [FEATURE REQUEST]
Next Topic: How i can read formatted data from StringStream (ala STL)?
Goto Forum:
  


Current Time: Sat Apr 20 16:26:50 CEST 2024

Total time taken to generate the page: 0.02177 seconds