[CONNECT U7] Icons for Ribbon Customizations

I'm performing some ribbon customization and I've added in a new Workflow with a few Tabs. In the Tab I've added a Group, and to that group I've added a Button. Once I set the various parameters for the Button, I wish to use the .ico file I have created for the tool. In the pre-CONNECT days, I had all my icons in a single .dgnlib, separate from the .dgnlib that contained the tool definitions. Now, with CONNECT, once I open the "browse" option to find the icon, I see the .dgnlib I created in CONNECT that have my icons, but it seems that one is unable to actually open and "pick" an icon from a different .dgnlib. You can import from the source .ico file into the .dgnlib currently being customized, or pick an icon from ustnicons.rsc (and possibly other .rsc files). I'd like to keep my icons separate from my ribbon customizations, but I'm not sure this is any longer possible. It seems also that it may be "better" to put the icons into a .rsc file rather than a .dgnlib. I do see "wiconpackager.exe", which has been around since V8i, but I've never been totally confident in it's use. Does wiconpackager put a full "copy" of the icon into a .rsc file, or is it just some reference to the .ico such that you need to also somehow supply the .ico file(s)?

Parents
  • Unknown said:
    Does wiconpackager put a full "copy" of the icon into a .rsc file, or is it just some reference to the .ico such that you need to also somehow supply the .ico file(s)?

    Here's an article about wiconpackager for V8i.  AFAIK it puts the icon inside a resource file.

    Unknown said:
    you need to also somehow supply the .ico file(s)?

    The article shows how to use wiconpackager from your bmake file.  Once your app is built, the icon file is no longer needed.  I haven't needed to use it in CONNECT: let us know how you get on!

     
    Regards, Jon Summers
    LA Solutions

Reply
  • Unknown said:
    Does wiconpackager put a full "copy" of the icon into a .rsc file, or is it just some reference to the .ico such that you need to also somehow supply the .ico file(s)?

    Here's an article about wiconpackager for V8i.  AFAIK it puts the icon inside a resource file.

    Unknown said:
    you need to also somehow supply the .ico file(s)?

    The article shows how to use wiconpackager from your bmake file.  Once your app is built, the icon file is no longer needed.  I haven't needed to use it in CONNECT: let us know how you get on!

     
    Regards, Jon Summers
    LA Solutions

Children
No Data