PDA

View Full Version : animate a window



iGoo
27th June 2006, 07:04
Hi,guys.
I want to animate a window. Just like the window slice form left to right.
When using windows api
AnimateWindow(,,,) without implementing WM_PAINTCLIENT message,
the window is black while Animating(and is WM_PAINTCLIENT the reason?? ).
And this solution can not be perfomed on other platforms.


Any direct solution in QT3/4 please.

Thanks.

munna
27th June 2006, 07:27
I don't think there is a direct solution but you can use QTimer and move your window from left to right on time out.

eriwik
27th June 2006, 08:11
I hope you've got a very good reason for wanting to animate the window, most users will probably hate it it their windows moves around without them doing anyting.

axeljaeger
27th June 2006, 11:00
You might want to have a look at this article:

http://doc.trolltech.com/qq/qq16-fader.html

iGoo
27th June 2006, 11:46
You might want to have a look at this article:

http://doc.trolltech.com/qq/qq16-fader.html

yeah.

I find it hard to newbie to try something with tricks or something advanced.

And of course I learn.

Thanks very much.