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 » Clear() and external controls as nodes
Clear() and external controls as nodes [message #19399] Mon, 01 December 2008 05:36 Go to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
I'm trying to use TreeCtrl with RichTextCtrl as nodes.
Unfortunately, I've met the problem with calling method Clear() and populating a tree with new nodes.

Old RichTextCtrl widgets are kept displayed instead of getting cleared.

Is this a normal behavior or a bug?

TIA


Regards,
Novo

[Updated on: Mon, 01 December 2008 05:40]

Report message to a moderator

Re: Clear() and external controls as nodes [message #19400 is a reply to message #19399] Mon, 01 December 2008 09:44 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Fixed and synced.

IMO, the reason it escaped the attention so far is that you usually "Clear" the Array containing widgets with TreeCtrl::Clear at the same time.

BTW, I was thinking about your "cursor problem" (correct background/foreground color of RichTextCtrl).

I think you should be able to use focus to find out how the widget should be displayed. Widgets with TreeCtrl cursor have focus...

Mirek
Re: Clear() and external controls as nodes [message #19413 is a reply to message #19400] Tue, 02 December 2008 04:28 Go to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
Thanks !!!

Regards,
Novo
Previous Topic: Bug changing text after node insertion
Next Topic: Optional highlighting of focused node's control along with value
Goto Forum:
  


Current Time: Fri Apr 19 11:39:10 CEST 2024

Total time taken to generate the page: 0.02932 seconds