orange Posted September 10, 2006 Share Posted September 10, 2006 Is there any way to reserve desktop space with auto it? For instance, with the start menu, it reserves its own space so that no window can be maximized beyond its upper border. Can we do this? Link to comment Share on other sites More sharing options...
spyrorocks Posted September 10, 2006 Share Posted September 10, 2006 your example of the start menu makes no sense to me. yes you can maximize windows bigger then the start menu. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
orange Posted September 10, 2006 Author Share Posted September 10, 2006 your example of the start menu makes no sense to me. yes you can maximize windows bigger then the start menu.well yes, but by default the start menu is set so that windows cannot. reserving desktop space is what an app does when it docks. I am just seeing if it is possible to have a docking application.If we have an app that is set to always on top, windows are maximized and they are set behind the "on top" window.I am lookign to write an app that docks itself so that no window can be maximized over it, rather that they maximize to border it.does that make sense? Link to comment Share on other sites More sharing options...
Jasio Posted September 10, 2006 Share Posted September 10, 2006 WinSetOnTop ( "title", "text", flag ) ;title The title of the window to affect. ;text The text of the window to affect. ;flag Determines whether the window should have the "TOPMOST" flag set. ;1=set on top flag, 0 = remove on top flag oÝ÷ Ù8Z·eǶ°whÂò¢êÜzÚ²°éÓ¢,~íéÆ)¢Íçl7¯+ay%r!iÊèÂ+a¶ºÚ"µÍÚ[Ù]Ý]H ][ÝÝ]I][ÝË ][ÝÝ^ ][ÝËYÈ Link to comment Share on other sites More sharing options...
orange Posted September 11, 2006 Author Share Posted September 11, 2006 WinSetOnTop ( "title", "text", flag ) ;title The title of the window to affect. ;text The text of the window to affect. ;flag Determines whether the window should have the "TOPMOST" flag set. ;1=set on top flag, 0 = remove on top flag oÝ÷ Ù8Z·eǶ°whÂò¢êÜzÚ²°éÓ¢,~íéÆ)¢Íçl7¯+ay%r!iÊèÂ+a¶ºÚ"µÍÚ[Ù]Ý]H ][ÝÝ]I][ÝË ][ÝÝ^ ][ÝËYÈ and just do that for all windows? Link to comment Share on other sites More sharing options...
xcal Posted September 11, 2006 Share Posted September 11, 2006 (edited) He's talking about how the taskbar reserves space, meaning, a window automatically knows not to maximize larger than (desktop - taskbar height). Sorry, I don't know the answer, but I use Litestep, and it's really easy to do with that. Edited September 11, 2006 by xcal How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
Valik Posted September 11, 2006 Share Posted September 11, 2006 The SystemParametersInfo() function with the SPI_SETWORKAREA flag may be what you are looking for. Look at that function in MSDN for more details. Link to comment Share on other sites More sharing options...
AceLoc Posted September 11, 2006 Share Posted September 11, 2006 (edited) $oHWND = "title" WinSetState($oHWND, "" @SW_MAXIMIZE) Edited September 11, 2006 by aceloc [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now