whats wrong with this

BlitzMax Forums/MaxGUI Module/whats wrong with this

D4NM4N(Posted 2006) [#1]
ScriptEditor=CreateWindow("ScriptEditor",ClientWidth(Desktop()),ClientHeight(Desktop()),645,480,Desktop(),WINDOW_RESIZABLE|WINDOW_MENU)

i want it to appear in the center of the windows DT.


D4NM4N(Posted 2006) [#2]
ok, im stupid. i forgot the *.25

while im at it, is there a way of getting the desktop color depth?


tonyg(Posted 2006) [#3]
Pointer to
DesktopExtension


Dreamora(Posted 2006) [#4]
Why would you need that one?
Canvas are by default desktop color depth as you can't do windowed graphics in a different depth than desktop :)


D4NM4N(Posted 2006) [#5]
I need to pass it to a b3d external