topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 2:15 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Tool to block SPECIFIC app from Minimizing ("NoMinimize")  (Read 7462 times)

melvynadam

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
I have an application which disappears when minimized. It's from my mobile broadband provider and it's unlikely to get an update or get fixed. It's also the only way I know of to activate my USB 3G dongle. Most of the time I remember not to minimize it but occasionally I forget and it's a hassle. What I'm looking for is a tool which I can leave running in the background which prevents named applications from minimizing. Anyone?

Something like NoClose v1.1 but instead "NoMinimize" would be perfect.


skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: Tool to block SPECIFIC app from Minimizing ("NoMinimize")
« Reply #1 on: June 28, 2010, 03:23 AM »
Something like NoClose v1.1 but instead "NoMinimize" would be perfect.

It's pretty trivial to modify NoClose to disable the minimise button as well.  I'm not sure I'd be able to do anything about you minimising it via the taskbar, though.  Would simply disabling the minimise button be enough for you?

melvynadam

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: Tool to block SPECIFIC app from Minimizing ("NoMinimize")
« Reply #2 on: June 28, 2010, 03:41 AM »
Yup. That would be perfect. I only minimize using the button.

melvynadam

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: Tool to block SPECIFIC app from Minimizing ("NoMinimize")
« Reply #3 on: June 28, 2010, 03:42 AM »
Incidentally, I do want to be able to close the thing. Only minimize should be disabled. When you say "disable the minimize button as well", can both be optional?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: Tool to block SPECIFIC app from Minimizing ("NoMinimize")
« Reply #4 on: June 28, 2010, 03:48 AM »
Sure, NoClose can be modified to only disable the minimise button.  Honestly, it's a one character change.  If you want to modify NoClose yourself, simply change this line:

Code: Autohotkey [Select]
  1. DllCall("user32\DeleteMenu","UInt",menu,"UInt",0xF060,"UInt",0x0)

To:

Code: Autohotkey [Select]
  1. DllCall("user32\DeleteMenu","UInt",menu,"UInt",0xF020,"UInt",0x0)

If you don't feel comfortable modifying and compiling AHK files on your own, please let me know and I'll do it for you.

melvynadam

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: Tool to block SPECIFIC app from Minimizing ("NoMinimize")
« Reply #5 on: June 28, 2010, 05:31 AM »
Edited. Compiled. To no effect.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: Tool to block SPECIFIC app from Minimizing ("NoMinimize")
« Reply #6 on: June 28, 2010, 01:58 PM »
It works here under Windows XPSP2.  I used the default ctrl-1 hotkey on my active test window and, even though the minimise button doesn't grey out, it doesn't minimise the window when clicked.