sharpooth Posted January 19, 2011 Posted January 19, 2011 Hello to all, Can any help me to put icons (bmp) in pulldown menu in mnu file? I can "attach" icons (bmp) for toolbars. The code is as follow: **Toolbar3 [_Toolbar("toolbar3", _Floating, _Hide, 310, 265, 1)] ID_AS [_Button("Describe", "AS16.BMP", "AS24.BMP")]^C^CAS Here the attached bmps are as16.bmp and as24.bmp. Autocad is converting to cui file prefectly. On the attached file see just icons on pulldown menu. Thanks! [ATTACH] 25859[ /ATTACH] Quote
migs Posted January 19, 2011 Posted January 19, 2011 Try adding them through the CUI instead of the MNU file if im thinking correctly then the MNU file is the older way of doing it and the way i learned to do it, both do the same thing but the CUI is easier to use for most people, no coding involved feel free to correct me if im wrong though Quote
sharpooth Posted January 19, 2011 Author Posted January 19, 2011 Hi Migs, The CUI file is compiling by autocad. In Cui file the icons are described as follow: Catalog^C^CCatalog Catalog [\code] On row , Aurocad put full path to the bmp, and in most cases this path is very different!!!For instance:and so on...... Quote
MarcoW Posted January 24, 2011 Posted January 24, 2011 I still love the *.mnu approach. What you need to do is create a toolbar with exactly the same macro as in the pulldownmenu. The icon used in the toolbar is shown in the pulldownmenu also. I dunno if you still need the help but I could try to help you... Quote
sharpooth Posted January 24, 2011 Author Posted January 24, 2011 Thanks MarkoW, nowhere is writing that you must make toolbar with bmps, after that you will see the bmps in pulldownmenu!!! Thanks!!! Quote
MarcoW Posted January 24, 2011 Posted January 24, 2011 Thanks MarkoW,nowhere is writing that you must make toolbar with bmps, after that you will see the bmps in pulldownmenu!!! Thanks!!! No problem, I am happy to help. Quote
sharpooth Posted January 24, 2011 Author Posted January 24, 2011 Hi NhocCuteGirlUK, In *.mnu you cad add bmps in pulldownmenu if you are created toolbars whit bmps! Yes, *.mnu is older way than *.cui to upload a menu in autocad. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.