In my app the user double-clicks on a table row to open a dialog window. The problem is that the window is instantly displayed - I want to make the window appear to 'jump out' of the table row (in the same way that windows 'jump out' from the task bar). To do this I need to draw the dialog window to a memory device context - how can I do this without first drawing it to the screen?
Thanks
------------------ Edit ----------------------
@bubbafat: Thanks - yes I will need to use CreateCompatibleDC, then set the size of the memory DC to the size of the dialog window. But then I need to draw a 'picture' of the window to the memory device pixels. This will then allow me to draw each frame of the 'pop-up' animation - ie:
- Frame 1: Copy the image from the buffer to the screen at 10% normal size and 10% opacity
- Frame 2: Copy the image from the buffer to the screen at 20% normal size and 20% opacity
- etc