Need advice: how to handle window maximization  
Author Message
Olyx





PostPosted: Visual C++ General, Need advice: how to handle window maximization Top

Good day!

Mayby somebody of You has any idea how to process extern application`s window maximization. I write a sidebar, and when some window is maximized, it shoud be resized to fit free work area.




Visual C++13  
 
 
einaros





PostPosted: Visual C++ General, Need advice: how to handle window maximization Top

Set a hook. Look to MSDN for the docs for SetWindowsHookEx(). There are plenty of examples of such hooks at http://www.codeproject.com.



 
 
Olyx





PostPosted: Visual C++ General, Need advice: how to handle window maximization Top

thank`s. I will search in this way!