
-----------------------------------
l0tt0
Thu Nov 20, 2003 9:41 pm

Starting Screen in Middle Of Monitor?
-----------------------------------
How do you place the screen in the middle of the monitor? So it doesn't always start at the left.

-----------------------------------
Mazer
Thu Nov 20, 2003 9:51 pm


-----------------------------------

var win := Window.Open ("graphics:400;300")
Window.SetPosition (win, (Config.Display (cdScreenWidth) - maxx) div 2, (Config.Display (cdScreenHeight) - maxy) div 2)

change the "400;300" part to whatever screen size you want

-----------------------------------
Copler
Thu Nov 20, 2003 9:58 pm

Easiar Way to Center the Screen
-----------------------------------
By using:




You will center the window in the perfect center no matter what the size is

PS put your cursor on the window.open part and hit F9 Help Files can reeeaaallly help!

-----------------------------------
Mazer
Thu Nov 20, 2003 10:07 pm


-----------------------------------
well there ya go, even better

-----------------------------------
l0tt0
Thu Nov 20, 2003 11:54 pm


-----------------------------------
thanks everyone...btw copler...for some reason none of my help files work :S

-----------------------------------
thoughtful
Fri Nov 21, 2003 12:35 am


-----------------------------------
hmm...sad...thay are actually of a lot of use.

-----------------------------------
Andy
Fri Nov 21, 2003 6:54 pm


-----------------------------------
unlike MSDN!!!  :evil:  :evil:  :evil:

-----------------------------------
Tony
Fri Nov 21, 2003 8:05 pm


-----------------------------------
haha :lol: MSDN is huge and has way too many words saying nothing :roll:

-----------------------------------
Andy
Fri Nov 21, 2003 8:48 pm


-----------------------------------
yea, u search for something, and after reading the intro to that function for 20 min, u realize that its for visual basic and not c++
