Customizing Toolbar, different Buttons but same dll
Customizing Toolbar, different Buttons but same dll
(OP)
HI All,
I want to create a customize Toolbar (.tbr) I would like to know if it is possible to create 2 buttons that they call the same DLL but each one calls different functions (callbacks).
I just can do it creating the actions in separately DLLs. But for the purpose of my project is not useful.
I will appreciate it!!
Thank your very much
I want to create a customize Toolbar (.tbr) I would like to know if it is possible to create 2 buttons that they call the same DLL but each one calls different functions (callbacks).
I just can do it creating the actions in separately DLLs. But for the purpose of my project is not useful.
I will appreciate it!!
Thank your very much





RE: Customizing Toolbar, different Buttons but same dll
NX 6.0.5.3 (NX 8 Testing)
Windows 7 64
RE: Customizing Toolbar, different Buttons but same dll
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum: http://www.plmworld.org/p/cm/ld/fid=209
To an Engineer, the glass is twice as big as it needs to be.
RE: Customizing Toolbar, different Buttons but same dll
have You tried without creating a "Application_Button" and executing callbacks?
Thanks
RE: Customizing Toolbar, different Buttons but same dll
MENU KMT_GKAD!4X
BUTTON KMT_GKAD_NAV
LABEL Navigator...
BITMAP gkad4xnav.bmp
ACTIONS MkNavigator.dll
BUTTON KMT_GKAD_PREFS
LABEL Preferences...
ACTIONS MkNavigator.dll
BUTTON KMT_GKAD_PREP_REL
LABEL Hide Tools...
ACTIONS MkNavigator.dll
END_OF_MENU
NX 6.0.5.3 (NX 8 Testing)
Windows 7 64
RE: Customizing Toolbar, different Buttons but same dll
I knew that solution, but my question goes beyond this point.
How do you differentiate in your own application which button has been pressed?
Thank you again for your comments,
Daniel
RE: Customizing Toolbar, different Buttons but same dll
NX 6.0.5.3 (NX 8 Testing)
Windows 7 64
RE: Customizing Toolbar, different Buttons but same dll
Is it possible to add some parameters to the application? I can not find the solution.
For example:
----------------------------------------------------------
VERSION 120
EDIT UG_GATEWAY_MAIN_MENUBAR
MENU UG_APPLICATION
BUTTON wag_ENG_CONVERT
ACTIONS "start "\"C:\Program Files\Siemens\NX 8.0\UGII\managed\Toolbar.exe" ipAdress""
END_OF_MENU
----------------------------------------------------------
Like I posted it does not work...
Thank you again for your help.
RE: Customizing Toolbar, different Buttons but same dll
NX 6.0.5.3 (NX 8 Testing)
Windows 7 64
RE: Customizing Toolbar, different Buttons but same dll
But I am developing applications in C#,
Is there a way to wrap C++ entry function in C#??
Thank you very much again!