明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1579|回复: 4

[讨论]这种按钮的制作

[复制链接]
发表于 2004-6-9 13:00:00 | 显示全部楼层 |阅读模式



大家看到我在点“关”按钮的时候,为什么“关”按钮没有置为当前呢?





这种按钮怎么做?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2004-6-9 13:10:00 | 显示全部楼层

Use _othericon as the keyword of icon in your menu file

Toolbar flyout definitions in the MNU file contain the keyword Flyout followed by options that are contained in parentheses.

TAG3 [Flyout ("flyname", id_small, id_large, icon, alias)]macro

The options are as follows:

flyname

The string that names the flyout. The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). This string is displayed as a tooltip when the cursor is placed over the flyout.

id_small

The string that names the ID string of the small-image resource (16 × 15 bitmap). The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). This can also specify a user-defined bitmap (see MSITStore:C:\Program%20Files\Autodesk%20Map%202004\help\acad_acg.chm::/acg_0491.html#398573" target="_blank" >Specify User-Defined Bitmaps.

id_big

The string that names the ID string of the large-image resource (32 × 30 bitmap). If the specified bitmap is not 32 × 30, AutoCAD scales it to that size. The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). It can also specify a user-defined bitmap (see MSITStore:C:\Program%20Files\Autodesk%20Map%202004\help\acad_acg.chm::/acg_0491.html#398573" target="_blank" >Specify User-Defined Bitmaps.

icon

The keyword that controls whether to display either its own icon or the last icon selected (other). The acceptable values, OwnIcon and OtherIcon, are not case-sensitive.

alias

The reference to the toolbar to display as the flyout. The alias refers to a toolbar submenu defined with the standard **aliasname syntax.

macro

The menu item macro. It follows the standard menu macro syntax.

See Also

MSITStore:C:\Program%20Files\Autodesk%20Map%202004\help\acad_acg.chm::/acg_0479.html#391560" target="_blank" >Create Toolbars

发表于 2004-6-9 13:34:00 | 显示全部楼层
aaddff发表于2004-6-9 13:00:00回复:(aaddff)这种按钮的制作 8176 大家看到我在点“关”按钮的时候,为什么“关”按钮没有置为当前呢...
你看 dat\press.mnu 文件
发表于 2004-6-9 13:40:00 | 显示全部楼层
在定义下拉工具栏的时候用_OwnIcon时,点击下拉工具栏中不同的按钮,其默认值不会变总是第一个,用_otherIcon时下拉工具栏中的默认值会随你按的按钮而变化。
 楼主| 发表于 2004-6-9 14:02:00 | 显示全部楼层
可以了,还有改下bmp名字


谢谢大家
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-11-28 10:54 , Processed in 0.171449 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表