45. FAQ o Win API

Q> How to activate any window (to transfer it input focus)? 
A> There is not documentary function in user32.dll 

SwitchToThisWindow (HANDLE hWnd, BOOL Restore); 
hWnd - хэндл windows  
Restore - to tear a window if it is minimized. 

2000 (c) DM