Incorrect Icon Set Loaded Under Windows 2000

Summary

Id: 13696.1
Type: Bug Bug
Current Status: Resolution Identified

Detail

7 Feb 2004 Open Sebastian Mares

I have downloaded the WinZip style ToolBar from vbAccelerator together with the required files and ran the program. On my Windows 2000 operating system, the program displayed the ToolBar using the Windows XP icons, causing an ugly black border to appear instead of the shadows. If I recall correctly, you stated that the control should select which type of icons to display based on the target operating system. Also, the menu appeared in a dark brown, rather than white (XP style) or at least in the color of the button face (classic style).

8 Feb 2004 Resolution Identified Steve McMahon

The code which checks which icons to load is not correct. Currently it only checks the system colour depth; however, it should do this:

1) Checking whether running under XP (or above) or not, if so if the display depth is >= 16 bits, use the 32 bit icon set.

2) If previous OS, then never attempt to load the 32 bit icon set.