From 4393589bbc8a8e0ed576492da03376cee6509cda Mon Sep 17 00:00:00 2001 From: wj32 Date: Sat, 4 Jul 2009 00:10:38 +0000 Subject: [PATCH] fixed Indicator flickering, updated CHANGELOG.txt git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1516 21ef857c-d57f-4fe0-8362-d861dc6d29cd --- trunk/CHANGELOG.txt | 1 + trunk/ProcessHacker/Components/Indicator.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/CHANGELOG.txt b/trunk/CHANGELOG.txt index 2a9939dba..bb1aa0d9c 100644 --- a/trunk/CHANGELOG.txt +++ b/trunk/CHANGELOG.txt @@ -18,6 +18,7 @@ Process Hacker named pipe connections * Better file object names without KProcessHacker * Better IP address resolving + * CPU, I/O and memory indicators * Child windows float by default * Automatic tree text coloring, allowing for dark highlighting colors diff --git a/trunk/ProcessHacker/Components/Indicator.cs b/trunk/ProcessHacker/Components/Indicator.cs index 626d96c12..89de26ea9 100644 --- a/trunk/ProcessHacker/Components/Indicator.cs +++ b/trunk/ProcessHacker/Components/Indicator.cs @@ -63,7 +63,8 @@ namespace ProcessHacker.Components public Indicator() { InitializeComponent(); - base.SetStyle(ControlStyles.DoubleBuffer | ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true); + base.SetStyle(ControlStyles.ResizeRedraw | ControlStyles.UserPaint | + ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true); } protected override void OnPaint(PaintEventArgs e) {