几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】add menu picks to the existing menu (http://www.dimcax.com/hust/showthread.php?t=5033)

yang686526 2009-04-13 08:42 AM

【转帖】add menu picks to the existing menu
 
add menu picks to the existing menu
if i already create a new menu in the first addin, how to add the menu picks in the second addin to the existing menu in the first addin
i don't want to create a new menu for each addin.
and how to get the sw menu id numbers?
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
edited: 05/06/2008 at 06:17 pm by chris ch
chris,
have a look at the sldworks::addmenuitem3 function in the api help files
cheers,
--stav.
in this world i am nobody...
and nobody is perfect ;) !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
quick


所有的时间均为北京时间。 现在的时间是 12:48 PM.