How to make it full screen?

10-12-2001, 08:32 AM
I am now starting to write a RPG, however, I don't know how to make it in full screen mode under windows. Can anyone help me?

10-12-2001, 08:36 AM
Asuming you don't just want a maximised window, the only way to get proper fullscreen display is to use DirectX. Have a look a Squirm's example ( code in the Code Library.

10-12-2001, 08:44 AM
you could just use windowstate=2 and set the form borderstyle to 0 at designtime, just make sure you leave a way to exit the program or you will have to use ctrl+alt+del

10-12-2001, 11:19 AM
I have try to set the windowstate=2, however what I get is a maxmaximised window. Am I done any wrong?

10-12-2001, 11:20 AM
Be sure to set the borderstyle to 0 at design time.

10-12-2001, 11:39 AM
Oh, I finally get it. Thank you a lot : )

However, it raise me another question. Can I make the program only appear in system tray in runtime? i.e. no windows at all

10-12-2001, 11:49 AM
Start the program with the main screen minimized (windowstate=0, I think)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum