Search found 10 matches

by PeteJ
Wed May 11, 2016 8:07 am
Forum: Developer's Forum for Windows
Topic: Localizing strings in cfg file
Replies: 9
Views: 14208

Re: Localizing strings in cfg file

Our application is a 'managed' C# front end, and an 'unmanaged' C++ back end. Currently the spaceball input is being captured in the C# as raw input.
by PeteJ
Wed May 11, 2016 7:52 am
Forum: Developer's Forum for Windows
Topic: Localizing strings in cfg file
Replies: 9
Views: 14208

Re: Localizing strings in cfg file

can the API be used when using 'raw input' ?
by PeteJ
Wed May 11, 2016 6:38 am
Forum: Developer's Forum for Windows
Topic: Localizing strings in cfg file
Replies: 9
Views: 14208

Re: Localizing strings in cfg file

Currently I have a dozen or so strings - so not really a problem.

But you now have me intrigued by being able to have different sets of commands depending on the state of the application. Where can I find out more about the 'Action Interface API' ?
by PeteJ
Wed May 11, 2016 5:56 am
Forum: Developer's Forum for Windows
Topic: Localizing strings in cfg file
Replies: 9
Views: 14208

Re: Localizing strings in cfg file

could you have sub folders off the 'cfg' folder for each language eg 'de-de', and in there is an XML file of the same name as the apps XML cfg file which contains the localized strings ie "C:\Program Files\3Dconnexion\3DxWare\3DxWinCore64\Cfg" contains MyApp.xml which is the cfg for my app...
by PeteJ
Wed May 11, 2016 5:43 am
Forum: Developer's Forum for Windows
Topic: Set some (not all) of the config to read only?
Replies: 8
Views: 12721

Re: Set some (not all) of the config to read only?

I've asked another question in a new topic..
by PeteJ
Wed May 11, 2016 5:34 am
Forum: Developer's Forum for Windows
Topic: Localizing strings in cfg file
Replies: 9
Views: 14208

Localizing strings in cfg file

I have created some new macros which I will ship in my XML cfg file. These macros have names (in English). eg <ButtonAction Type="App"> <ID>MACRO hide unhide</ID> <Name>Hide unhide</Name> </ButtonAction> What other files do I have to ship or modify to make these English names appear in dif...
by PeteJ
Wed May 11, 2016 5:26 am
Forum: Developer's Forum for Windows
Topic: Set some (not all) of the config to read only?
Replies: 8
Views: 12721

Re: Set some (not all) of the config to read only?

Have now got it working. 'rawinput' in the cfg file does allow the GUI speed controls to work. So no need to make any of the UI read only.

Is there any documentation of these XML cfg files?
by PeteJ
Tue May 10, 2016 6:19 am
Forum: Developer's Forum for Windows
Topic: Set some (not all) of the config to read only?
Replies: 8
Views: 12721

Re: Set some (not all) of the config to read only?

I can't find the S3DM_VIewer.xml cfg file (I am using 3DxWare 10.3.0).

I can find other cfg files that use 'raw input' eg WSIWYG.xml - is that OK to use as a template?
by PeteJ
Mon May 09, 2016 4:03 am
Forum: Developer's Forum for Windows
Topic: Set some (not all) of the config to read only?
Replies: 8
Views: 12721

Re: Set some (not all) of the config to read only?

I have created a cfg based on one of the files shipped with the 3DxWare installation. Unless I am missing something, changing the speed or pressing the +,-, ROT/2D buttons will have no effect because I am reading the raw input. I can handle the +,-, ROT/2D buttons in my code and alter the behaviour ...
by PeteJ
Wed Apr 27, 2016 3:31 am
Forum: Developer's Forum for Windows
Topic: Set some (not all) of the config to read only?
Replies: 8
Views: 12721

Set some (not all) of the config to read only?

I am capturing the raw input (in C#). But I want to use the XML cfg file so that the user can configure button actions. I am using 3DxWare 10.3.0 So I want to disable editing (or the display) of the speed slider bar, and the Advanced Settings - however, I want the Buttons to be able to be edited (bu...