Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#82 missing BufferedPaintStopAllAnimations() method

closed-fixed
None
5
2014-02-19
2011-06-06
midiway
No

In the classes that support the buffered painting API from Vista, there is no method that correspond to a ::BufferedPaintStopAllAnimations call, so I suggest adding one to CBufferedAnimation, and in the same way as the already existent CBufferedAnimation::IsRendering static method, add it as static too, like this:

class CBufferedAnimation
{
..

static bool IsRendering(HWND hWnd, HDC hDC) //method already in WTL
{
return (::BufferedPaintRenderAnimation(hWnd, hDC) != FALSE);
}

static bool StopAnimations(HWND hWnd) //the new one
{
return ::BufferedPaintStopAllAnimations(hWnd);
}
};

Discussion

    • assigned_to: nobody --> nenadstefanovic
     
    • status: open --> closed-fixed
    • Group: --> Next Release (example)
     
  • Added - atltheme.h, commit #485