Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » visual studio 2012 win7 allegro 5 can only see my display on minimize window

This thread is locked; no one can reply to it. rss feed Print
visual studio 2012 win7 allegro 5 can only see my display on minimize window
sede_pt
Member #15,420
December 2013

hi i'm new on allegro 5 i'm just trying to run the first exemples but i have this problem. this might be the visual studio 2012 and not the allegro.

I ran my code and everything works but it only display the console command The graphics only show on the minimize window, i can only see it on that window. i found some one with the same problem that me on google.

http://www.gamedev.net/topic/620081-need-help-with-allegro-5-visual-c/

i'm using his print screen but i have the same problem

http://imageshack.us/photo/my-images/18/allegroproblem.jpg/

i can only see my program on that little window.

taronĀ 
Member #10,584
January 2009
avatar

Try manually setting your window position.
al_set_window_position

Might be an allegro bug spawning your window off-screen.

sede_pt
Member #15,420
December 2013

thx it worked. so it's something with allegro ??? my code is the one from the wiki .

http://wiki.allegro.cc/index.php?title=Allegro_5_API_Tutorials

just put it manually and it will work correct ?

p.s. - first time i ask help on a forum and i get a quick correct aswer :P thx a lot bro i'm gona ask more in the future let me just learn more about the api :P.

taronĀ 
Member #10,584
January 2009
avatar

Never ran into this issue myself, it only seems to happen on some hardware configurations.

Go to: