How to make it full screen?

willy
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?

Banjo
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 (http://www.visualbasicforum.com/bbs/showflat.php?Cat=&Board=CodeLib&Number=54820&page=&view=&sb=&o=&vc=1) code in the Code Library.

Ad1
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

willy
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?

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

willy
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

Teric
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