Announcement

Collapse
No announcement yet.

Animated open/close of panels

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Animated open/close of panels

    In Visual Studio there are panels, these can be shown in animated way activated by mouse-over-area.

    What would be a professional way to animate the open and close?
    On close the back get's shown, don't want some greyed area's to be updated ever..
    hellobasic

  • #2
    Edwin - I use dialogs that expand and contract on the click of a button (would also work with a mouse-hover). Is this what you had in mind?

    Iain Johnstone
    “None but those who have experienced them can conceive of the enticements of science” - Mary Shelley

    Comment


    • #3
      Yes, but the animation should be as flawless as with MS Visual Studio.
      No bad painting etc..
      hellobasic

      Comment


      • #4
        See AnimateWindow() winapi function.
        Michael Mattias
        Tal Systems (retired)
        Port Washington WI USA
        [email protected]
        http://www.talsystems.com

        Comment


        • #5
          Hmm, thought it was for the dumb rectangle animation (in win95 afaik).
          I'll check
          hellobasic

          Comment


          • #6
            >thought [AnimateWindow] was for the dumb rectangle animation (in win95 afaik).

            Nah, you can do wipes and dissolves and implode and explode, too.
            Michael Mattias
            Tal Systems (retired)
            Port Washington WI USA
            [email protected]
            http://www.talsystems.com

            Comment


            • #7
              Took a brief peek but i wonder how to set a maximum width and such.
              Have to read more.. later..
              hellobasic

              Comment


              • #8
                It seems this api uses region stuff to hide or show the window.
                Animations is also rather poor and certainly not the same as used with VS.
                hellobasic

                Comment

                Working...
                X