I'm considering to 开发者_运维问答increase my usage of DeferWindowPos. Up to now I used it in some simple circumstances and didn't notice any problems. Do you know of any pitfalls, where e.g. the FLeft/FTop/... fields aren't updated correctly or similar things?
DeferWindowPos should't be a problem because the WM_WINDOWPOSCHANGED, WM_MOVE and WM_SIZE messages are still sent after the move/resize is finished. DeferWindowPos works as if the user moves or resized the window and the VCL keeps track of all the changes and updates FLeft, FTop, FWidth and FHeight properly.
精彩评论