473,774 Members | 2,253 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3093
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******** *****@TK2MSFTNG P15.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*********@mv ps.org> wrote in message
news:eh******** ******@tk2msftn gp13.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******** *****@TK2MSFTNG P15.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******** ******@TK2MSFTN GP14.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
6619
by: Brainless | last post by:
hi... I've recently created a dhtml thing on http://www.shapers.nl/ that animates a lot of images. The thing I want to solve is the lag that occurs when a new animation is initiated. To make it time-based I calculate the entire animation on beforehand and create numerous setTimeOuts in a repeat loop (it's the loop that creates the lag). Creating an animation like this has some more disadvantages:
2
2118
by: billrdio | last post by:
I am trying to make a JavaScript animation of real-time images - i.e. images that will periodically change on the server. The problem I am having is that the JavaScript animation I have created is always using the images from the cache, even though I have set the HTTP response header on the server (via .htaccess) so that the browser should validate the image in the cache against the image on the server for freshness. I have tested the...
1
2325
by: John | last post by:
How to draw anmation in window app? I mean... like how can I draw a dot in window at a point then moves to another point and we can see it moves. Please explain in detail.
3
2086
by: James | last post by:
Hello, I'm new to c# and have created an animation which draws directly to the window, it uses the code below which all works. I would like to know if this is the 'correct' way to do it - or would an experienced c# programmer do it another way? This part defines the screen and the graphics pad I'm drawing to: Graphics screen = CreateGraphics(); Graphics drawpadg = Graphics.FromImage(drawpad);
10
2303
by: Robert Skidmore | last post by:
Take a look at this new JS function I made. It is really simple but very powerful. You can animate any stylesheet numeric value (top left width height have been tested), and works for both % and px values. Works in both ie and firefox. Parameters styleType = top | left | width | height toNumber = the new value of the style then you pass in as many ids as you would like.
7
9334
by: Lee | last post by:
Hi, How do I detect when a form is minimizing? specifically when a user clicks the show desktop button on the taskbar, rather than the minimize button on a form. thanks in advance
1
3446
by: Martijn Mulder | last post by:
I am looking for a C# .NET 2.0 tutorial on animation techniques, especially the difficult subject of Invalidating() the smallest possible area on the screen and the proper way to set things up.
4
3668
by: =?Utf-8?B?dmluZWV0?= | last post by:
In WPF (even with considerable improvement in version 3.5), while running multiple animations in a single window, The performance of one animation suffers a lot. for example, i have two image transitions on two independent Canvases on a Grid. 1. is simple, slide transformation running, continously from left to right with multiple images. 2. 3D transitions over multiple images.
8
5542
by: DelphiCoder | last post by:
As part of familiarizing myself with the Win32 API, I wrote a simple animation program in C. The program has a struct for each bitmap, holding information such as its location, visibility, mask (for transparency), etc. Then I have a separate thread running that has a WHILE loop that looks like this: WHILE (TRUE) { /* update all structs (bitmap locations, etc) */ SleepEx(iSpeed, FALSE); InvalidateRect(hwnd, lpRect, TRUE); }
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7463
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4012
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.