Home » U++ Library support » TreeCtrl » Cursor doesn't refresh
Cursor doesn't refresh [message #15528] |
Mon, 28 April 2008 10:37 |
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
|
|
|
|
|
Goto Forum:
Current Time: Fri Nov 01 02:05:10 CET 2024
Total time taken to generate the page: 0.01608 seconds
|