* Skip unecessary call to SetWindowPos

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@635 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2008-12-15 22:07:19 +00:00
parent 7fddfbddc8
commit 91ac2d856c

View File

@ -10333,8 +10333,10 @@ begin
if Treeview.HandleAllocated then
begin
Treeview.UpdateHeaderRect;
SetWindowPos(Treeview.Handle, 0, 0, 0, 0, 0, SWP_FRAMECHANGED or SWP_NOMOVE or SWP_NOACTIVATE or SWP_NOOWNERZORDER or
SWP_NOSENDCHANGING or SWP_NOSIZE or SWP_NOZORDER);
//lclheader
//not necessary since header is draw inside client area
//SetWindowPos(Treeview.Handle, 0, 0, 0, 0, 0, SWP_FRAMECHANGED or SWP_NOMOVE or SWP_NOACTIVATE or SWP_NOOWNERZORDER or
// SWP_NOSENDCHANGING or SWP_NOSIZE or SWP_NOZORDER);
end;
end;