-
Hi everybody,
I've got a form with many controls, that is the only form in my application. In the form there is a ListView with the files of one folder. If I go to the Windows-Explorer and rename the files and go back to my app I want the list to be refreshed. But I cannot find a event which occurs when I come back to my app. Form_Activate and Form_GotFocus don't run.
Thanks for help.
-
Subclass WM_APPACTIVATE, and if wParam <> 0 then your app has been activated, so call the event from there.
-
Try changing your form's KeyPreview property to True if it's not already.