Win32, PageControl: remove white flicker when switching tabs. Issue #0037161 Patch by BrunoK

git-svn-id: trunk@63261 -
This commit is contained in:
martin 2020-06-01 19:05:59 +00:00
parent 815371c9aa
commit e6702de323

View File

@ -58,7 +58,7 @@ end;
function ShowHideTabPage(TabControlHandle: HWnd; Showing: boolean): integer;
const
ShowFlags: array[Boolean] of DWord = (SWP_HIDEWINDOW or SWP_NOZORDER, SWP_SHOWWINDOW);
ShowFlags: array[Boolean] of DWord = (SWP_HIDEWINDOW or SWP_NOZORDER or SWP_NOREDRAW, SWP_SHOWWINDOW);
var
TabControl: TCustomTabControl;
PageIndex: Integer;