ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Display ICOs on Toolbars?

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
177 Views, 2 Replies

Display ICOs on Toolbars?

Dear All,

Can anyone help? I'm trying to build a toolbar for my ARX app that will display 15x16 BMP images under AutoCAD 2000-2002 and 16x16 32-bit ICO variants under AutoCAD 2004-2006. I just can't figure out how to work with the ICOs/how they should be managed. I have tried:

1. Adding the ico files to the DLL in the same way the BMPs work.

2. Copying the separate ICO into the installation folder of my application.

3. Changing the name of the icon in the DLL to be the toolbar identifier.

Nothing seems to work! Any help is be much appreciated.

James
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

jameswood wrote:
> Dear All,
>
> Can anyone help? I'm trying to build a toolbar for my ARX app that will display 15x16 BMP images under AutoCAD 2000-2002 and 16x16 32-bit ICO variants under AutoCAD 2004-2006. I just can't figure out how to work with the ICOs/how they should be managed. I have tried:
>
> 1. Adding the ico files to the DLL in the same way the BMPs work.
>
> 2. Copying the separate ICO into the installation folder of my application.
>
> 3. Changing the name of the icon in the DLL to be the toolbar identifier.
>
> Nothing seems to work! Any help is be much appreciated.
>
> James

1. is the correct approach only you need to add the icons as RCDATA
instead of as icons. For more info-

http://www.cadwerx.net/Free/CxToolbarIcons.asp

--
Best regards,

Byron Blattel
CADwerx--Applications for AutoCAD
Autodesk Registered Developer
Contact Info @ http://www.cadwerx.net
Custom Programming Services - ObjectARX/C++/MFC/ASP/STL/ATL/ISAPI...
Message 3 of 3
Anonymous
in reply to: Anonymous

> http://www.cadwerx.net/Free/CxToolbarIcons.asp
>

Actually you have to go to the Developers section and click on the
'AutoCAD 2004 Toolbar Icons' link.

--
Best regards,

Byron Blattel
CADwerx--Applications for AutoCAD
Autodesk Registered Developer
Contact Info @ http://www.cadwerx.net
Custom Programming Services - ObjectARX/C++/MFC/ASP/STL/ATL/ISAPI...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost