problem with windowed mode

BlitzMax Forums/BlitzMax Beginners Area/problem with windowed mode

B(Posted 2009) [#1]
Hi,

When ever I use:
Graphics 640,480


...or any such dimensions...

and I leave out the ,32 to put it into windowed mode.
or when I run other peoples code that uses this same principle,

It compiles and runs the code but does not register any keystrokes or clicking of the mouse and such.

everything I do appears in the output. :(

so I have to make it full screen to play it.

has anyone else had this problem.
sorry if my wording of this problem is bad, I cant think straight today, hard day at work. :P

B


ImaginaryHuman(Posted 2009) [#2]
try adding a call to EnablePolledInput() somewhere outside the main loop after the window is created.


B(Posted 2009) [#3]
that didnt work :(

im going to reinstall everything. see if that works


Brucey(Posted 2009) [#4]
Be sure to build it in GUI mode ?


B(Posted 2009) [#5]
oh ok, that worked.

wow! i feel so dumb :(... lol

oh well

thanks Brucey! :)