Runtime UI Animation

Thanks for response this is a good approach. However you know where can I find an example or a doc on how can I create animation during runtime in c++? Or if you can give me a little hint on how to make. So I can compare the two approaches.
Thanks again for yours response that is very helpfull.