AutoCAD Electrical
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Icon menu resource dll
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Anyone know how to create Icon menu resource dll files?
Re: Icon menu resource dll
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello, btackes!
Have you found an answer? I'm stuck with the same problem now....
Re: Icon menu resource ODL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Sorry I guess no one knows the answer so it either individual png files or slide libraries.
Re: Icon menu resource ODL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Actually I solved this problem about a half an hour after asking you about that
and It's pretty simple to implement....
- All u have to do is to create a new C++ project in VC choosing "Win32 Project" as template, on the next page of Win32 Application Wizard select "DLL" as Application Type, click Finish.
- In Solution Explorer of your newly created project click on "Resource View" tab, right click on root node in "Resource View" -> Properties. On the left side of "Properties" window expand "Linker" section, then select "Advanced", in "Advanced" change "No Entry Point" to "Yes (/NOENTRY)". Click OK
- Add your bitmaps by right clicking on root node in "Resource View" -> Add... -> Resource... In Resource Type choose "Bitmap", then click on "Import" button and navigate to your Icons folder, choose whatever icons u want. After that close all opened tabs with chosen icons in VC.
- Go back to "Solution Explorer" tab, expand "Resource Files" folder, find there *.rc file, right click on it -> "View Code". Find there your icons paths, they will look something like this:
//////////////////////////////////////////////////
/////////////////////////// // // PNG // IDB_PNG1 PNG "C:\\Path\\To\\Icons\\Folder\\Autocad.png" Change "IDB_PNG1" according to the name you specified in your cui file.
Then save and build your project. Give the same name to the resulting DLL as your cui file has and put it in the cui folder. That's it! Should be working.... I find this method it's much more easier then using "Resource Hacker".

Re: Icon menu resource dll
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Actaully it's much easier than that, especially if you don't have C++.
Download XN Resource Editor and then open the DLL file attached for the format the icons must follow. Then name the DLL the same as your menu file( test.mnu and test.dll). In your menu file you call the icons by the name you give them in the DLL, so per my example DLL you would call the icon for Layer Isolate by LAYISO16.
Hope that helps,
Jim
