Multithreading AddFoldersAndFilesToTree

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
zcooler
Posts: 385
Joined: 11 Jan 2014, 04:59

Multithreading AddFoldersAndFilesToTree

24 May 2017, 05:00

I do wonder if multithreading add folders and files (huge amounts of folders and files) would accomplish faster treeview loadtime?

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

zcooler
Posts: 385
Joined: 11 Jan 2014, 04:59

Re: Multithreading AddFoldersAndFilesToTree

24 May 2017, 06:04

Stackoverflow advise strongly against multithreading writing to UI, but reading (the fileLists) is no problem. Hmm..ok maybe this is not the right way to go. Load only what people can see in a first stage and then a second stage background loading might be the better way.

Return to “AutoHotkey_H”

Who is online

Users browsing this forum: No registered users and 1 guest