"Dmitry Timoshkov" dmitry@baikal.ru writes:
HWND_TOP of course should be replaced by 0 since SWP_NOZORDER is specified. The change is aimed to be a simple optimization.
Then you'd need to add SWP_NOACTIVATE for it to be identical to the previous code; but I don't think this kind of micro-optimization is useful, if all we want is to move the window it's clearer to use MoveWindow IMO.