up vote 2 down vote favorite
share [g+] share [fb]

I have a program that Maximize button is disabled for it!
But I'm gonna maximize it somehow,

I've tested Ctrl + Enter, It doesn't work on it! I also tested Alt + Space, It doesn't work too.
Is there a way for doing that?

link|improve this question

feedback

2 Answers

up vote 2 down vote accepted

I like your style! :P

If you're willing to go third party, the WinMaximize command from AutoHotKey doesn't care if the window can be maximized or not, it just does it.

!F3:: ;Maximize/Restore Window
WinGet MX, MinMax, A
If MX
WinRestore A
Else WinMaximize A
return

That script would toggle maximized on alt-F3 (because I assume you'll want to UNmaximize at some point :))

link|improve this answer
Well, where should I write it :) ? – Mohammad Mar 14 '10 at 10:24
@Mohammad; Oh, sorry! Install autohotkey, and place that in a text file with the extension .ahk, then run it. – Phoshi Mar 14 '10 at 11:25
Can we install it on Win 7 x64 ? – Mohammad Mar 14 '10 at 12:00
Thanks, I've done it, but it's not the way that I expected. I'm looking for a solution with the Windows ways. – Mohammad Mar 14 '10 at 12:07
@Moha; "The windows ways"? I don't believe there's any inbuilt method of doing this (And as you can probably see, many windows don't auto-resize the contents, there's no way around this) – Phoshi Mar 14 '10 at 12:26
feedback

If the maximize button is disabled, it is not meant to be maximized. It probably does not even implement auto-resizing of the content so even if you would maximize the window, its content would not grow and you would just fill most of your screen with grey.

link|improve this answer
The program that I wanna maximize it, is a Flash Game, So it can be maximize easily! – Mohammad Mar 14 '10 at 14:09
@Mohammad if its not meant to be maximized and Windows Key + Up doesn't do the trick then you either have to go with @Phoshi's answer or open it in say IE or Chrome and maxamize that. If its a flash game you grabbed from a website you can load it in a customer html file and change the size that is displayed. – MrStatic Mar 14 '10 at 16:52
@MrStatic; It's a flash game that included in an other exe file and Maximize button is disabled on it!!! :( – Mohammad Mar 14 '10 at 17:53
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.