> > > > Indeed we need a callback or... Would a longjmp to break the loop work? > > That would leave user32 in broken internal state.
Ok. They also say that PostQuitMessage should get me out of any modal loop. Can I use that mechanism to stop the resizing loop? What If I quit on any message? I should be able to come back because of the main() loop.