matwachich Posted March 29, 2022 Share Posted March 29, 2022 Hi! I have a specific need: my app will have to display many (MANY) data on a tree view. So I want to dynamically populate it on expand. I first populate root elements, that I want that on double clique (expand), while responding to TVN_EXPANDING, this item will have it's children. The problem is that when an item has no children, impossible to expand it! The [+] button doesn't appear. What's the best solution to this? I think I will test to add to each item a dummy child that will be deleted in TVN_EXPANDING. Link to comment Share on other sites More sharing options...
Nine Posted March 29, 2022 Share Posted March 29, 2022 You should know by now that providing a basic example (runable snippet of code) of the issue you are facing will greatly help us to help you. matwachich 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
matwachich Posted March 29, 2022 Author Share Posted March 29, 2022 Problem soved (I think) It's working just fine as I said: adding a dummy child element (with "..." text) that is deleted in $TVN_EXPANDING and then replaced by the content loaded from database. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now