how do u minimize/ maximize a window?? please help

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
only1skingle
Posts: 25
Joined: Mon Sep 27, 2010 6:51 pm
Location: United Kingdom

how do u minimize/ maximize a window?? please help

Post by only1skingle »

hey guys,

I have a program that opens up a window.
I then want to create a function that will tell that window/program that when a button is pressed to minimize that window and load/open/maximise a window from a different .cpp file or program.

What code would i need in irrlicht?
i pretty much have the function ready to go, i just need to know what code is needed to minimise and maximise and if possible open up a .cpp file or program

thanks in advance :)
Radikalizm
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Post by Radikalizm »

I don't believe irrlicht has any functions for manipulating windows like that

I assume you're running this on a windows platform, so you could see what you could do with MFC

Also, do note that the resolution of your game app will not change according to the size of your window, so you won't get a good quality when maximizing the screen
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Call maximizeWindow minimizeWindow or restoreWindow on the device.
Radikalizm
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Post by Radikalizm »

hybrid wrote:Call maximizeWindow minimizeWindow or restoreWindow on the device.
Ok, my bad :D
Post Reply