Jump to content

Hide window animation


Recommended Posts

When using WinSetState("Title", "", @SW_MINIMIZE) to minimize an external program window, is it possible to override the "Animate windows when minimizing and maximizing" visual effect in Windows XP? I want to minimize a program window as soon as it appears without the minimize animation.

I also tried first setting the window state to @SW_HIDE before @SW_MINIMIZE and that hid the animation but the resulting taskbar shuffle was more distracting than the window animation I'm trying to hide. Any ideas?

Jeff

Link to comment
Share on other sites

Thanks for the idea but it did not work. Even with the window moved off the screen by the width of the desktop, the window animation is still visible when the window is programmatically minimized.

Any other ideas?

Jeff

Link to comment
Share on other sites

Wow, thanks Larry! The code example that you provided does just what I was looking for. Because I'll be running the script in a corporate environment, beta software is frowned upon. Do you have an estimated date for struct support being added to an official AutoIt release?

Jeff

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...