Also, if you keep the "Compatible" DC loaded (like making it a global variable, rather than local to your function) then after you load the bitmap to it, you will not have to reload the bitmap, you will only need to capture the WM_PAINT and WM_ERASEBKGND messages and BitBlt the image back to the windows DC. If you capture these messages through an overridden WndProc then you will want to use CallWndProc FIRST and THEN re-BitBlt your Bmp over.


-TheXenocide
ParseMPopup