Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backspace and arrow keys not working in webbrowser obj

Status
Not open for further replies.

Viperrr

Programmer
Mar 7, 2004
1
NL
I play a mmorpg called Runescape. It's a java game which loads right off a website. Im writing a toolkit with calculators and maps etc. which loads the game in a webBrowser object. It works ok except for this one problem: In Runescape the arrow keys (which rotate the camera) and the backspace don't work. The odd thing is they DO work when you hold a mouse button down.

I've only started using Delphi 3 days ago and I'm catching on pretty quick but this is too much for me. Can anyone help me out please?

Here is the source code:
 
You need to add IDocHostUIHandler and implement at least the GetHostInfoMethod (if memory serves).

Check it is the best site I know for TWebBrowser knowledge, sources and ready to use components with source.

buho (A).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top