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 » how to wake up TreeCtrl
Re: how to wake up TreeCtrl [message #48991 is a reply to message #48990] Sat, 18 November 2017 20:57 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1093
Registered: August 2007
Senior Contributor
Quote:
Unfortunatly the Windows API in this case are cumbersome.
However if I click on the node/folder of the TreeCtrl the new file is displayed. So a sort of sync is performed. I would like to try to simulate the close/open of the node where the file is. Unfortunately I do not understand how each node id map a given folder.


have you tried FindFile class of U++?
It can check timestamps (directory object change times).

https://www.ultimatepp.org/src$Core$FindFile$en-us.html

Maybe you can "wait on" file/directory changes (manually, using a timer maybe?).

Best regards,
Oblivion


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: TreeCtrl display bug
Next Topic: Drag&drop example bug and questions
Goto Forum:
  


Current Time: Sat Apr 27 20:45:44 CEST 2024

Total time taken to generate the page: 0.07950 seconds