Little windows on a main program
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
Little windows on a main program
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.
- airsoftsoftwair
- Posts: 5834
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Little windows on a main program
That's easily possible. Check CreateDisplay() and OpenDisplay().
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Little windows on a main program
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.
- airsoftsoftwair
- Posts: 5834
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Little windows on a main program
Yes, just use SelectDisplay() to redirect all calls like MakeButton(), DisplayBrush() etc. to a certain display. It will interact nicely with the other windows.