c++ - Cancel a DeferWindowPos -


I'm doing a series of window resizing using the DeferWindowPos functionality Suppose I have already opened the Defrint Window POS , And for a while I am called Defrar Windo Pose, and now I want to cancel everything: Call End End World Pops I tried to close the handle (HDWP), but this (crashes) does not work if I just Return back I think it will handle. Is it possible to eliminate DEEFER windows POS without calling AndroidWindows POS?

  // Start HDWPWWP- (...) (...) (//) calculate the new rectangular CRTic DCN; ... // Oh, now I want to return to my function, I want to cancel everything / HDWP = Defer window POS (HDWP, HWD, 0, RCNE, left, RCNE sub, RCNE. Wide (), RC New Height (), SWP_NOZORDER); } / / Finally BOOL bResult = Endvarvindo POS (HDWP);  

If this is not possible, then I will store them in a temporary vector, and in the end I will call Deffer stuff, when I'm pretty sure that I want to do all of them.

I see the only reference to any kind of "canceled" functionality:

< Blockquote>

If the SWP_HIDEWINDOW or SWP_SHOWWINDOW flag is set in any window in multiple window-position structure, then none of the windows is restored.

Coming from it.


Comments