Little windows on a main program

Find quick help here to get you started with Hollywood
Post Reply
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Little windows on a main program

Post 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.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Little windows on a main program

Post by airsoftsoftwair »

That's easily possible. Check CreateDisplay() and OpenDisplay().
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Re: Little windows on a main program

Post 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.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Little windows on a main program

Post 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.
Post Reply