views:

30

answers:

1

For instance I have a main dialog, when I click a button a smaller dialog appears next to it. But it would be neat if the small one could somehow transition in, rather than simply appear. For instance using transparency, or zooming in, or sliding in from width=0 -> full-width.

Making an actual dialog do such things isn't too hard, but what about the controls within it? How might we approach this in a way that is reusable on different dialogs?

+1  A: 

I don't know of any MFC libraries that do this. Closest is AnimateWindow(). Depending on how flashy you want to make your effects, this may or may not be enough (e.g. a simple fade in you can do with AnimateWindow()).

Roel
Never knew about that, nice.
John