U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
Cursor doesn't refresh
https://www.ultimatepp.org/forums/index.php?t=rview&goto=15528&th=3408#msg_15528
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]]>qapko2008-04-28T08:37:11-00:00Re: Cursor doesn't refresh
https://www.ultimatepp.org/forums/index.php?t=rview&goto=15590&th=3408#msg_15590
For now I removed it.