Is there a GetRedraw function or message?
-
I frequently use SetRedraw(FALSE) -> do drawing stuff -> SetRedraw(TRUE), but I sometimes have an outer drawing loop that does this, which calls, as part of the drawing, something else that also turns off/on redrawing, thus overriding the 'outer' loop's redraw flag. I have wondered if anyone knows of any way of determining the current value of the redraw flag for a window?
"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)
-
I frequently use SetRedraw(FALSE) -> do drawing stuff -> SetRedraw(TRUE), but I sometimes have an outer drawing loop that does this, which calls, as part of the drawing, something else that also turns off/on redrawing, thus overriding the 'outer' loop's redraw flag. I have wondered if anyone knows of any way of determining the current value of the redraw flag for a window?
"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)
Check out
LockWindowUpdate()
- that may work better in your situation--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ