hi all!
i use AnimateWindow in order to fade-in my dialogbox, u see:
oh! i think my dialog seem cool. but i found the ctrls are not drawn well. how can i fix it?
i use AnimateWindow in order to fade-in my dialogbox, u see:
invoke AnimateWindow, hWnd, 200, AW_BLEND + AW_ACTIVATE
oh! i think my dialog seem cool. but i found the ctrls are not drawn well. how can i fix it?
Use RedrawWindow with RDW_ALLCHILDREN to redraw child windows after a call to AnimateWindow.
thank you!
BTW, InvalidateRect does this job too, unless parent window has the WS_CLIPCHILDREN style bit set.
yes, i had found on the forum with keyword 'AnimateWindow'. i use InvalidateRect after a call to AnimateWindow. see:
invoke AnimateWindow, hWnd, 1000, AW_BLEND + AW_ACTIVATE
invoke InvalidateRect, hWnd, 0, TRUE