Jump to content

Recommended Posts

Posted

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]

IconsMenu.jpg

Posted

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

Posted

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......

Posted

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...

Posted

Thanks MarkoW,

nowhere is writing that you must make toolbar with bmps, after that you will see the bmps in pulldownmenu!!!

Thanks!!!

Posted
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.

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...