Dear Yuri, Use the WM_ACTIVATE message in the application's main window procedure. This message indicates window activation changes (activating/deactivating). Combine with the LOWORD of wParam to check the activation state (e.g., ...
Dear Yuri, when a window, dialog or control is painted, FWH evals oWnd:bPainted if defined from METHOD Paint() CLASS TWindow if ValType( ::bPainted ) == "B" uVal = Eval( ::bPainted, ::hDC, ...