Remove default IRR window style
Remove default IRR window style
Yes, how can we do that ?
The thing is to get the default window without the borders and the caption, and let just the usefull part of the window only.
I can do that from vb, but the point is make it from the c++ source and not lett the IRR show that styles.
Someone know howto to try that ?
The thing is to get the default window without the borders and the caption, and let just the usefull part of the window only.
I can do that from vb, but the point is make it from the c++ source and not lett the IRR show that styles.
Someone know howto to try that ?
Make your own window as in the win32 example and set the styles how you want, and place the Irrlicht Device in inside it (if I remember correctly, in that example, the IrrDevice is put into a "BUTTON"
Join us in the Irrlicht chatroom:
[url]irc://irc.freenode.net/irrlicht[/url]
I love deadlines. I like the whooshing sound they make as they fly by. -D.Adams
[url]irc://irc.freenode.net/irrlicht[/url]
I love deadlines. I like the whooshing sound they make as they fly by. -D.Adams
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
luckymutt also meant this window. If you use the external window variable when creating the Irrlicht device nothing is created, Irrlicht just acquires a rectangle area to draw in. So if you know how to get rid of the windows decorations using just win32 calls you can tke that window (created and decorated by you) and let Irrlicht render into it.
Here:
http://msdn.microsoft.com/library/defau ... window.asp
(check out the dwStlye parameter)
That will tell you all about how to create and customize the window to how you want.
Check out the CreateWindowEX function as well.
To change the default appearance of the window that Irrlicht is in, you need to do one of the following:
1. run it in full screen mode
2. use the above links to see how you can change styles with the Win32Window example
3. use the same links and change Irrlicht's source code to default to whatever style you want and rebuild the engine
or
4. cover the top portion of the window on your monitor with duct tape
http://msdn.microsoft.com/library/defau ... window.asp
(check out the dwStlye parameter)
That will tell you all about how to create and customize the window to how you want.
Check out the CreateWindowEX function as well.
To change the default appearance of the window that Irrlicht is in, you need to do one of the following:
1. run it in full screen mode
2. use the above links to see how you can change styles with the Win32Window example
3. use the same links and change Irrlicht's source code to default to whatever style you want and rebuild the engine
or
4. cover the top portion of the window on your monitor with duct tape
Join us in the Irrlicht chatroom:
[url]irc://irc.freenode.net/irrlicht[/url]
I love deadlines. I like the whooshing sound they make as they fly by. -D.Adams
[url]irc://irc.freenode.net/irrlicht[/url]
I love deadlines. I like the whooshing sound they make as they fly by. -D.Adams
Yes luckymutt, i know that dwStyle values and how to change the window style. But the thing i want to do is...
1 - irrlitch start with a deault window.
2 - not allow to irrlitch the creation of the style he want
3 - change the way the irrlicht make that style
i hope is more clear now ... because i not need to create a new window. The irrlich deault one is wnough for me, but i need to change its style.
1 - irrlitch start with a deault window.
2 - not allow to irrlitch the creation of the style he want
3 - change the way the irrlicht make that style
i hope is more clear now ... because i not need to create a new window. The irrlich deault one is wnough for me, but i need to change its style.