×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Custom menu button image changes
2

Custom menu button image changes

Custom menu button image changes

(OP)
I have custom menus which use custom images. I have been upgrading to AutoCAD 2000i from release 14. I have one button in a flyout that simply will not retain the image that I assign to it. When I quit AutoCAD and restart, the image reverts to something different. Any ideas, tips on how to fix this?

RE: Custom menu button image changes

here i saw this yesterday on the autodesk support site danreese

"Issue

You want to set a default button for a flyout on a toolbar.

A flyout is a set of buttons nested under a single button on a toolbar. The button that displays a flyout, has a black triangle in the lower-right corner. When you start AutoCAD 2000, each flyout displays a default button on its associated toolbar. For example, on the Standard Toolbar the default button for the Zoom flyout, is Zoom Window. During an AutoCAD session, the flyout button displayed on the toolbar, is the last button you used on the flyout.

You can change the behavior of a flyout so that it persistently displays the same button on the toolbar. That is, the same flyout button displays when AutoCAD starts, and during the AutoCAD session.  


Solution

This solution provides an example of setting a default button for the Zoom flyout on the Standard Toolbar.

Procedure:
Choose the button that you want as the default button from the Zoom flyout on the Standard Toolbar. This action starts the command for that button. Cancel the command. The selected button is now displayed on the Standard Toolbar.
Right-click on the button for the Zoom Flyout on the Standard Toolbar, and choose Customize from the shortcut menu. AutoCAD displays the Toolbars dialog box.
Right-click the same button that you right-clicked in the previous step.
In the Flyout Properties dialog box, select an icon from the list in the Button Icon area.

Note: Although you can select any button icon in step 4, we suggest that you select the icon associated with the command. That's because no matter what button icon you select, the command is that of the button you right-clicked in steps 2 and 3. For example, it's illogical to use the diskette button icon (save), if the command for the button is Zoom Extents.


Select the option Show this Button's Icon, then choose Apply.
Close the Flyout Properties dialog box, and the Toolbars dialog box.
After completing the procedure, the flyout:
persistently displays the same button on the toolbar.
runs the command for the button when you select it. The command is that of the button you right-clicked in steps 2 and 3."

i hope this helps also look at your MNS/MNU file if you have save custom bmp files for icons if you specify the actual name in the MNS/MNU file you are less likely to get smilies or incorrect buttom images

if everyone helps everybody the world will be a better place

RE: Custom menu button image changes

I had a similar problem and found the easiest fix was to EDIT the ".MNS" file that contained all my TOOLBAR information. I have three custom toolbars that are separate from the existing TB set provided by Autodesk. Within the ".MNS" file are text strings for each command :

ID__1[_Button("LIST OF MATERIALS", "LOM1.bmp", "ICON_16_BLANK")]^C^C-insert;"*K:/0_Holmes/0_Blocks/LOM.DWG"
(The above is one continuous text line)

where "LOM1.bmp" is the designated graphics file for the ID_1 TB button

The only problems with this approach are the ".BMP" files have to be in a directory on the search path and if the files are moved you'll get the SMILEY FACE button

WARNING:
Prior to editing your ".MNS" file CREATE A BACKUP COPY

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources