C# Windows.Forms, WebBrower and Accelerators

C# Windows.Forms, WebBrower and Accelerators

Anonymous
Not applicable
601 Views
1 Reply
Message 1 of 2

C# Windows.Forms, WebBrower and Accelerators

Anonymous
Not applicable

Hello the community 🙂

I was searching for a long time and it's time to ask for help !!!

 

I'm creating a 3ds Max plugin and I have problems with Accelerators (enabled and disabled)

 

The project is in C# with a Windows.Form embedding a WebBrowser because the main program is developed using JavaScript.

 

To allow users to copy/paste some informations from the 3ds Max window to the plugin, I enable accelerators when I lost the focus and disable accelerators when I get the focus on my window.

 

The problem is when I disable accelerators, the WebBrowser element cannot receive any events and disables "itself" the copy/paste. (Means that the onKeyUp etc. events in Javascript are never called)

 

Does anyone already had this problem ?

I'm searching for a system that enables the user to select, take informations from the 3ds Max window (view ports, edit boxes, etc.) and get the copy/paste working on the WebBrower.

 

Thank you for your furthur answers !!! =D

0 Likes
602 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Please have look into deriving your Form from MaxForm rather than Windows.Form directly.
0 Likes