How to limit maximum size of other windows?
-
I would like to create a sidebar type application that sits on the right side of the client area. This application will always be executing, and I want it to always be visible. Is there any way of controlling _other_ windows so that the won't maximise or be resized over/under that application? Optimally I would like another window to maximize to the full screen _except_ for the right X pixels where my sidebar application is residing. Always on top will fix the "always visible" parameter, but using this other windows will be hidden behind it.. Preferrably I would like to set a registry value or such setting max size, but the next best case is to do this programmatically in my app. Would really appreciate an answer! Best regards // T
-
I would like to create a sidebar type application that sits on the right side of the client area. This application will always be executing, and I want it to always be visible. Is there any way of controlling _other_ windows so that the won't maximise or be resized over/under that application? Optimally I would like another window to maximize to the full screen _except_ for the right X pixels where my sidebar application is residing. Always on top will fix the "always visible" parameter, but using this other windows will be hidden behind it.. Preferrably I would like to set a registry value or such setting max size, but the next best case is to do this programmatically in my app. Would really appreciate an answer! Best regards // T
Check out http://www.codeproject.com/csharp/csdoesshell3.asp[^]
Take care, Tom ----------------------------------------------- Check out my blog at http://tjoe.wordpress.com
-
Check out http://www.codeproject.com/csharp/csdoesshell3.asp[^]
Take care, Tom ----------------------------------------------- Check out my blog at http://tjoe.wordpress.com
That hit the spot! Thanks for the help! Really appreciate it! // T