[ros-dev] [ros-diffs] [janderwald] 36295: - Update Status Icon when there is activity - Also update the Taskbar Notification Icon

gedmurphy gedmurphy at gmail.com
Thu Sep 18 09:16:41 CEST 2008


Our LoadIcon is broken and can result in badly drawn / ugly icons.
You should use LoadImage instead.

LoadIcon is deprecated anyway, no one should be using it anymore.

Ged.

-----Original Message-----
From: ros-diffs-bounces at reactos.org [mailto:ros-diffs-bounces at reactos.org] On Behalf Of janderwald at svn.reactos.org
Sent: 17 September 2008 22:59
To: ros-diffs at reactos.org
Subject: [ros-diffs] [janderwald] 36295: - Update Status Icon when there is activity - Also update the Taskbar Notification Icon



+    hIcon = NULL;
+    if (pContext->dwInOctets == IfEntry.dwInOctets && pContext->dwOutOctets == IfEntry.dwOutOctets && pContext->Status  != 0)
+    {
+        hIcon = LoadIcon(netshell_hInstance, MAKEINTRESOURCE(IDI_NET_IDLE));
+        pContext->Status = 0;
+    }
+    else if (pContext->dwInOctets != IfEntry.dwInOctets && pContext->dwOutOctets !=




More information about the Ros-dev mailing list