The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: Bill Cravener on December 21, 2011, 11:07:37 AM

Title: Automatically maximize non-maximized windows.
Post by: Bill Cravener on December 21, 2011, 11:07:37 AM
Here's a small Masm32 utility I did up for a client (yep, for money :bg) that automatically maximizes a non-maximized application window to the full size of the desktops work area. The client I did this up for uses Windows 7 and like many folks using Win7 or Vista they dislike the way windows changes the title bar text color when maximized. This little utility resizes an applications window to the available desktop work area but keeps the non-maximized windows title bar text color. When you run the utility it sits in the system tray with the options to turn it off or exit.

Should work with all versions of Windows but its purpose is for Win7 or Vista.


http://www.quickersoft.com/examples/Maximizer.zip


Or it can be downloaded from my site link below.
Title: Re: Automatically maximize non-maximized windows.
Post by: sinsi on December 21, 2011, 11:17:41 AM
>they dislike the non-transparency of a maximized windows title bar when running in Aero Glass mode.
Huh? I get the same from normal or maximised, I can see the desktop behind the title bar.
Title: Re: Automatically maximize non-maximized windows.
Post by: Bill Cravener on December 21, 2011, 11:37:27 AM
You know you are correct sinsi. I just thru my machine into Glass (I prefer Basic) its the title bar text color that a maximized window changes in Win7 when you maximize a window (if one is using a color other then black). Still though I obviously missunderstood the fellow (client) it does what its suppose to do, no? Regardless the money was green.

Edit: If I'm not misstaken it is Vista that loses it transparency when a window is maximized, I haven't had Vista for several months now and as I always ran in Basic mode I simply can't remember.