c# - How to detect application activation -


i need perform action when application receives focus.

i've tried hooking both gotfocus- , enter-events, trigger when focus changes within application.

scenario application detects problem must resolved elsewhere, , check again when user goes application.

i try overriding form.onactivated (or handling form.activated event) in application form.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -