BUG: ImageList Control Does Not Accept Small Icons

Last reviewed: July 9, 1997
Article ID: Q168797
The information in this article applies to:
  • Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 32-bit only, for Windows, version 4.0

SYMPTOMS

When you try to insert a 16x16 icon into the ImageList Control, the control recreates the icon into a 32x32 icon and uses the larger icon instead.

WORKAROUND

To work around this bug, click 16x16 in the General Tab of the ImageList Control Properties dialog box prior to loading your icon.

STATUS

Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

To reproduce this bug, you will need a 16x16 icon file.

  1. Start 32-bit Visual Basic 4.0, or, if it is already running, click New Project on the File menu.

  2. Add an ImageList control to the Form1 form.

  3. Right-click the ImageList control and click Properties. The ImageList Control Properties dialog box appears.

  4. In the Images tab, click the Insert Picture button and insert your 16x16 icon into the ImagesList control. Click the General tab and note that the size remains at 32x32.


Keywords : PrgCtrlsThird vb432 vb4win
Version : 4.0
Platform : WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.