Page 1 of 1

Little windows on a main program

Posted: Wed Oct 05, 2011 4:27 pm
by Juan Carlos
I want the big doubt, as open little windows and closed them and that these windows you change or interacted with the main window for example I want open a little window where you can choose the jpg quality to save(it is other question) one picture and after closed this window as in the graphic programs. And little windows of several sizes with text and pictures and the most complex ans useful for all, little windows with buttons settings for example to configure programs or games.

Re: Little windows on a main program

Posted: Sat Oct 08, 2011 1:23 pm
by airsoftsoftwair
That's easily possible. Check CreateDisplay() and OpenDisplay().

Re: Little windows on a main program

Posted: Sun Oct 09, 2011 12:22 pm
by Juan Carlos
But for make buttons in this little windows the code for it, could be using the disable/enable and draw the buttons in these windows without problems with the main code? and the close window I worked in it but the close option closed the main program.

Re: Little windows on a main program

Posted: Mon Oct 10, 2011 1:50 pm
by airsoftsoftwair
Yes, just use SelectDisplay() to redirect all calls like MakeButton(), DisplayBrush() etc. to a certain display. It will interact nicely with the other windows.