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(a)reactos.org [mailto:ros-diffs-bounces@reactos.org] On Behalf Of
janderwald(a)svn.reactos.org
Sent: 17 September 2008 22:59
To: ros-diffs(a)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 !=