preventing animation when minimizing a window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • NL

    #1

    preventing animation when minimizing a window

    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


  • James Curran

    #2
    Re: preventing animation when minimizing a window

    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:OKOSpzkUFH A.580@TK2MSFTNG P15.phx.gbl...[color=blue]
    > 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[/color]
    minimize,[color=blue]
    > since each minimizing animation is done consecutively and not in parallel.
    >
    > I would rather have the window disappear immediately.
    >
    > TIA,
    > Norvin
    >
    >[/color]


    Comment

    • NL

      #3
      Re: preventing animation when minimizing a window

      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" <jamescurran@mv ps.org> wrote in message
      news:ehmhqCnUFH A.1148@tk2msftn gp13.phx.gbl...[color=blue]
      > 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:OKOSpzkUFH A.580@TK2MSFTNG P15.phx.gbl...[color=green]
      > > Hi,
      > >
      > > Does anybody know how to turn off the animation Windows does with a[/color][/color]
      window[color=blue][color=green]
      > > as it's minimized/maximized to the taskbar?
      > >
      > > I have an app which, when minimized, syncs to any other open instances[/color][/color]
      of[color=blue][color=green]
      > > the app and tells them to minimize. If I have more than a couple[/color][/color]
      instances[color=blue][color=green]
      > > open, the user ends up waiting quite a while for all of windows to[/color]
      > minimize,[color=green]
      > > since each minimizing animation is done consecutively and not in[/color][/color]
      parallel.[color=blue][color=green]
      > >
      > > I would rather have the window disappear immediately.
      > >
      > > TIA,
      > > Norvin
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • James Curran

        #4
        Re: preventing animation when minimizing a window

        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:OuZ0FZoUFH A.4000@TK2MSFTN GP14.phx.gbl...[color=blue]
        > 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"?)[/color]


        Comment

        Working...