CE-Custom icon size definitions & display

I am currently working creating some custom ribbon menus. For these menus we wanted special icons. A coworker created the icons using some websites by first using Microsoft Word (sine the icons were only using text as shown in the screenshot). He converted the Word doc to a .jpg, then converted that to a .ico file. The converted created the 3 required sizes plus a few additional sizes. The .ico files were imported into a .dgnlib which was placed in a location being pointed to by MS_GUIDGNLIBLIST. Upon applying the icons to the menu items I could se the name of the icon, but the image would not appear, although they look fine in the Icon Selector window. I found a few old threads where users were reporting the same issue but I did not find any real definitive solution.

Looking back in the Icon Selector I noticed the Icon Properties which shows the various sizes of the icon defined and I verified the 3 required sizes were present. I had to scroll down to see the additional sizes when I noticed that there was a size defined as

XXXXX     0 width     0 height.

I ended up deleting that size which corrected the issue. I did not see this posted anywhere else so I thought I would post this in case others run into this same issue. It is apparent that Micorstation uses the last defined size in the list of the icon sizes but, I guess it may depend on whether you set the icon size to small, medium or large in the menu settings.

Can anyone provide some insight as to how the icon sizes are selected by the software? I'm not sure what the default setting is when you create a new Drop-down, Menu Item or Sub-Menu item. I believe it is usually set to Large when I create these in the Customize Ribbon dialog.

Parents Reply Children
  • Ok, thanks for the information. I was making an assumption that the last one listed seemed to be the default. If that is the case then I would also assume that if only the 3 sizes mentioned are valid for Microsation/ORD and any other size is defined and selected as the default, the icon would appear blank as well.

    I'm not too concerned about this issue. Last time I created a custom icon was back in the v8 2004 days with the built-in icon creator. These icons were being created at the request of a client.

    Microstation CONNECT - 10.17.2.61

    ORD - 2021 R1 10.10.1.3

    ORD 2022 R1.1 - 10.11.3.2

    ORD 2022 R3 -  10.12.2.4

    Microstation v8i SS 10 - 08.11.09.919

    Power InRoads v8i - 08.11.09.615

    ProjectWise - 10.0.3.453