Notifications
Clear all

[Closed] System.Windows.forms.WebBrowser

Hi All,

Im trying to make a html/js frontend to a maxscript – everything works fine, except i have a form input in my html that wont receive anything i write on the keyboard – everything gets caught by max as max shortcuts – when i focus the input and type w, max goes into move-mode.

Anyone who knows how to get a System.Windows.forms.WebBrowser component to accept/capture keyboard input.

Any input is greatly appreaciated, thanks.

Heres a short snippet to illustrate the point – try to do a google search (i cant, unless i paste something in)

try(destroydialog keystester);catch()
rollout keystester "HTML Interface" width:720 height:600
(
	
	dotNetControl dotNetWeb "System.Windows.forms.WebBrowser" pos:[4,4] width:720 height:600
	
	
	on keystester open do( 
		dotNetWeb.Navigate ("http://www.google.com")
	)
)
createdialog keystester 
1 Reply
 lo1

Search this forum for ‘enableAccelerators’