preventing animation when minimizing a window

  • Thread starter Thread starter NL
  • Start date Start date
N

NL

Hi,

Does anybody know how to turn off the animation Windows does with a window
as it's minimized/maximized to the taskbar?

I have an app which, when minimized, syncs to any other open instances of
the app and tells them to minimize. If I have more than a couple instances
open, the user ends up waiting quite a while for all of windows to minimize,
since each minimizing animation is done consecutively and not in parallel.

I would rather have the window disappear immediately.

TIA,
Norvin
 
Hi James,

thanks for the reply. So when I call a form's .Hide() method, it also
disappears from the taskbar. How do I go about keep it visible in the
taksbar? (Is this what you meant by "placing an icon in the notification
area"?)

TIA,
Norvin


James Curran said:
As far as I know, it can only be specified at the system level for all
windows, but by each app individually.

What you can do is intercept the minimize event, and hide the window
instead, placing an icon in the notification area.

--
--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com

NL said:
Hi,

Does anybody know how to turn off the animation Windows does with a window
as it's minimized/maximized to the taskbar?

I have an app which, when minimized, syncs to any other open instances of
the app and tells them to minimize. If I have more than a couple instances
open, the user ends up waiting quite a while for all of windows to minimize,
since each minimizing animation is done consecutively and not in parallel.

I would rather have the window disappear immediately.

TIA,
Norvin
 
Back
Top