Problems with the events using forms(c#)

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
Guest

Problems with the events using forms(c#)

Post by Guest »

I'm currently creating some irrlicht-tools, such as a terrain-editor,scene-editor,particle-editor and a material-editor.
All of the editors are in a package: Irrlicht-Tools.
They are all completly written in c#.
For the GUI iam using windows-forms, but now i got some problems, i've done a lot of codding for some days, but now the problems are the events.
iam using the irrlicht event-manager for mouseclick, mousemove, etc...
So the windows events are deactivated for panel iam rendering on.
And thats the problem, i need the windows-events on the RenderPanel, but if i start to render on this panel, the irrlicht events are activated and the windows event are no longer available for this UserControl...
So is there any other way to use thee windows-events?

greets ColeZero
Cube3
Posts: 30
Joined: Wed Mar 15, 2006 7:42 pm
Location: http://cube3.helpmy.net

Post by Cube3 »

I am using a low level C# keyboard handler instead of the events. And the mousepicking is done using PointToClient which works nicely.

There's an earlier post from me on how to handle keyboard events in C# so you can ommit irrlicht's event handler.
Platform 3D Engine using Irrlicht.NET
http://cube3.helpmy.net
ColeZero
Posts: 20
Joined: Wed Jul 27, 2005 2:33 pm

Post by ColeZero »

ah i see, thx dude.^^
That helped... :lol:
Locked