468,791 Members | 1,799 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,791 developers. It's quick & easy.

preventing animation when minimizing a window

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
Nov 17 '05 #1
3 2887
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" <nl@123.com> wrote in message
news:OK*************@TK2MSFTNGP15.phx.gbl...
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

Nov 17 '05 #2
NL
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" <ja*********@mvps.org> wrote in message
news:eh**************@tk2msftngp13.phx.gbl...
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" <nl@123.com> wrote in message
news:OK*************@TK2MSFTNGP15.phx.gbl...
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


Nov 17 '05 #3
The notification area is the spot by the clock (which probably already
has a bunch of icons), which is sometime (wrongly) referred to as the
"system tray"

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

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

"NL" <nl@123.com> wrote in message
news:Ou**************@TK2MSFTNGP14.phx.gbl...
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"?)

Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Brainless | last post: by
2 posts views Thread by billrdio | last post: by
1 post views Thread by John | last post: by
3 posts views Thread by James | last post: by
10 posts views Thread by Robert Skidmore | last post: by
7 posts views Thread by Lee | last post: by
1 post views Thread by Martijn Mulder | last post: by
4 posts views Thread by =?Utf-8?B?dmluZWV0?= | last post: by
1 post views Thread by CARIGAR | last post: by
2 posts views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.