几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   How to determine the current language in SolidWorks is running (http://www.dimcax.com/hust/showthread.php?t=456)

huangyhg 2007-01-23 10:52 PM

How to determine the current language in SolidWorks is running
 
How to determine the current language in SolidWorks is running
GetLocalizedMenuName.zip
Updated: 4/5/2002
Size: 0.001

SolidWorks is now localised for many different languages. This means the menu names are presented in the local language. For addins which add to the SW menus, they need to know the names of various menus in their call to:

SldWorks/Frame::AddMenuItem


This sample code shows how to determine the current language and retrieve the local menu names for several of the standard SolidWorks menus.


所有的时间均为北京时间。 现在的时间是 06:04 AM.