Category : animatewindow

I’m attempting to create a window class that supports fading in and out, even for child windows. Basically it adds the WS_EX_LAYERED style to the window, and then it calls SetLayeredWindowAttributes on a timer, gradually changing the alpha value. That approach is okay, but of course the fading will become temporarily interrupted if there are ..

Read more

I am using AnimateWindow to show/hide my toolbar. During Hide the toolbar leaves a trail and after a few seconds it disappears. How can I eliminate these trails during hide? AnimateWindow(m_hWndToolbar, 200, AW_SLIDE | AW_VER_NEGATIVE | AW_HIDE); ShowWindow(m_hWndToolbar, SW_HIDE); Trails image Source: Windows Que..

Read more