Tesctassa
03-28-2008, 07:49 PM
Hi again!
I'm developing a dotNet component for 3DSMax 2008, but I'm encountering several problems. This component is a Form-based application, a sort of text editor. It is loaded with the method dotNet.LoadAssembly() function and then fired up with the .show() predefined method.
What's happening is that once the application is running none of the keyboard shorcuts set works, such as ctrl+N for new file, ctrl+O for open etc. Furthermore when a "text file" is opened and the focus is on the text area (NOTE: the text area is extended from the textBoxBase control from the .NET 2.0), some of the keys don't work at all, such as backspace and return.
But what is really frustrating is the behavior of the application. When launching the application using the showDialog() method (which gives exclusive focus to the form) it works perfectly, but obviously there is the side effect that I have to close it to come back to Max.
Any help here??
NOTE: before setting the Max global variable enableAccelerators to false also the keys associated to common Max shortcuts, such as 'w' or 'e', didn't work.
Thanks in advance!
Regards,
Adriano
I'm developing a dotNet component for 3DSMax 2008, but I'm encountering several problems. This component is a Form-based application, a sort of text editor. It is loaded with the method dotNet.LoadAssembly() function and then fired up with the .show() predefined method.
What's happening is that once the application is running none of the keyboard shorcuts set works, such as ctrl+N for new file, ctrl+O for open etc. Furthermore when a "text file" is opened and the focus is on the text area (NOTE: the text area is extended from the textBoxBase control from the .NET 2.0), some of the keys don't work at all, such as backspace and return.
But what is really frustrating is the behavior of the application. When launching the application using the showDialog() method (which gives exclusive focus to the form) it works perfectly, but obviously there is the side effect that I have to close it to come back to Max.
Any help here??
NOTE: before setting the Max global variable enableAccelerators to false also the keys associated to common Max shortcuts, such as 'w' or 'e', didn't work.
Thanks in advance!
Regards,
Adriano
