For my next project (an RPG) I plan to
integrate text and questions etc., so
I thought it would be easiest to start
the program in windowed mode
and use printf, but sometimes the
console is covered by
the Irrlicht window, so I was asking myself
whethter it is possible to set the position of
the window at the upper left corner and make
the console use the rest of the screen.
I also have to use alt+tab to change from to the
console to the Irrlicht window and vice versa. Maybe somehow
this works automatically, but I dont know how.
Has anyone got a solution???
changing position of the window
-
xterminhate
- Posts: 206
- Joined: Thu Sep 01, 2005 9:26 pm
- Location: France
You can easly retreive the handler of the Irrlicht render window.
Then, you can call win32 API methods to alter windows properties, in game.
Xterm-In'Hate.
Code: Select all
irr::video::SExposedVideoData exposedData = driver->getExposedVideoData();
HWND hWnd = reinterpret_cast<HWND>(exposedData.D3D9.HWnd); Xterm-In'Hate.
Return to Irrlicht after years... I'm lovin it.
It's hard to be a Man !
Si vis pacem para belum
It's hard to be a Man !
Si vis pacem para belum