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 » TreeCtrl » Cursor doesn't refresh
Cursor doesn't refresh [message #15528] Mon, 28 April 2008 10:37 Go to previous message
qapko is currently offline  qapko
Messages: 55
Registered: October 2007
Location: Slovakia
Member
Hello,
I have problem with TreeCtrl with context menu enabled. In my application when I click right mouse button at the TreeCtrl, context menu appears, but when it disappears after clicking outside of it and the cursor line number remains unchanged, the cursor doesn't refresh correctly - only part previously behind the context menu refreshes.
On the line 1132 of TreeCtrl.cpp (2008-1beta2) in TreeCtrl::GotFocus() method there is "RefreshLine(cursor)" that is (as I can see) responsible for refreshing the cursor in situations like the one discussed. Is there any reason for "RefreshLine(cursor)" being in "else" branch of the "if" clause? After I removed the "else" (thus taking "RefreshLine(cursor)" out of the "if" clause) the problem disappeared.

Thank you for your help.
Gabi
 
Read Message
Read Message
Read Message
Previous Topic: Problem displaying labels under ubuntu 7.10
Next Topic: IsSelected(id)
Goto Forum:
  


Current Time: Wed Apr 24 11:17:23 CEST 2024

Total time taken to generate the page: 0.04201 seconds