When you choose "Full screen" in photoshop or go into most games, you see graphics on the entire screen, not just in a window. How is this done?
I'm trying to do a slide show as a function in one of my apps.
Thanx guys.
Printable View
When you choose "Full screen" in photoshop or go into most games, you see graphics on the entire screen, not just in a window. How is this done?
I'm trying to do a slide show as a function in one of my apps.
Thanx guys.
One way is to maximize your window. Set the BorderStyle property to None and set the WindowState property to maximized.
If you're playing a game on a cheap monitor, you can actually hear it "click" as it changes video modes. It appears as though there are no windows, just objects drawn to the screen - is this DirectX?
I'll probably use a maximized window like megatron said, but I'm curious..
Yes, it is DirectX. There are some excellent tutorials and information for using DirectX at http://orion.spaceports.com/~mccloud/. That is Fox's page, I learned so much from that(I'm PlasmicSoup on the forums there). Also, check out VoodooVb(somewhat confusing, but good. They have good links there too.):http://redrival.com/voodoovb/.
Another good website about DirectX is http://www.cason.addr.com
Here is a sample code on how to do it.
Code:Dim dx As New DirectX7
Dim dd As DirectDraw7
Set dd = dx.DirectDrawCreate("")
Call dd.SetCooperativeLevel(Me.hWnd, DDSCL_FULLSCREEN Or DDSCL_EXCLUSIVE Or DDSCL_ALLOWREBOOT)
Call dd.SetDisplayMode(640, 480, 16, 0, DDSDM_DEFAULT)