I would like to have
SHFileOperation function, always only one SHFileOperation at the time (but I want it to be in the thread)FOF_SIMPLEPROGRESS flag and pass something to the Wnd memberI have two questions
SHFileOperation with FOF_SIMPLEPROGRESS flag (for user interaction) from the thread other than main ?Wnd member ? I've tried the handle of the main form, but when e.g. the overwrite confirmation dialog pops up and you confirm it, the main form is sent to the background, what is really strangeNote:
I have a queue for these operations, so only one SHFileOperation is performed at the time (after it's finished, the thread continues to the other action, what might be the next SHFileOperation)
Thanks a lot
SHFileOperation from a thread other than the main thread.0 as the hwnd member. If you pass the handle of the main window then I expect that window will be disabled because SHFileOperation is a modal dialog. Since the file confirmation and progress dialogs are the top level UI for the background thread, you don't want any windows to be disabled when these modal dialogs show.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With