Irrlicht output => a Standard Window's Form??

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
itguru80
Posts: 12
Joined: Fri Feb 18, 2005 9:13 am
Contact:

Irrlicht output => a Standard Window's Form??

Post by itguru80 »

Hi,
I would like to build an application using .NET 2003, and Irrlicht.

I was wondering if it's possible to render the output to say, a Windows Form, or a Windows Control, instead of popping up in a seperate screen as it does at this point in time? Also how do you get rid of the Dos Box that pops up when the application starts?

If any one has done this already could they show me an example?

Thanks!!

Peter
Pete
Life is wonderful
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

Change your project to a Windows Application instead of a Console application to get rid of the console window.
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Hmmm,
I wonder if it's possible to render to a bitmap handle (HBITMAP) instead to a window ???
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
itguru80
Posts: 12
Joined: Fri Feb 18, 2005 9:13 am
Contact:

Post by itguru80 »

Thanks for the info,

so to be a bit more specific, if I change my application to a Windows Forms Project, then when I create a device does it automatically default to the Windows Form that it is created inside?

Otherwise if there were multiple Windows Forms in a project how would it know which one to render to?

Can anyone send me some example code?

Thanks,

Peter
Pete
Life is wonderful
itguru80
Posts: 12
Joined: Fri Feb 18, 2005 9:13 am
Contact:

Post by itguru80 »

Hello,
maybe I am not explaining it well enough.

I want to have a Standard .NET Window's Form, with the standard buttons etc, and I want my 3D graphics to be displayed on a Panel, or a control on that form, for example.

Can anyone tell me if this is possible???

Pleaeeeeaassssseee!!!!

Thanks
Pete
Life is wonderful
Post Reply