Nov 7, 2009

Top level window receives WM_GETMINMAXINFO before WM_NCCREATE

Keep in mind, that on Windows top level window receives WM_GETMINMAXINFO message prior to WM_NCCREATE. Such behavior can be fatal for application that executes window initialization code in WM_NCCREATE message handler, since when receiving WM_GETMINMAXINFO window is not initialized yet.
Oh, that cruel, stupid world...

No comments:

Post a Comment