Strange one here: I've got a window created with an extended style of WS_EX_OVERLAPPEDWINDOW | WS_EX_COMPOSITED
. On WM_SIZE
I create (or reset) a timer using SetTimer
, which calls a draw function after a 100 ms pause in resizing (Helps smooth resize.)
That's working just fine, but I just noticed that if I remove the WS_EX_COMPOSITIED
style, suddenly my timer stops working! Huh? I've confirmed that SetTimer
is being called, but I never hit the callback function. Put the style back in, and everything is happy again.
I have a feeling that I'm missing something here. Has anyone else experienced this?
Windows 7, 64 bit (if it matters.)