Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 26 Sep 2010 10:48:08 +0000 (GMT)
Hello Andreas: have you some example to open close windows from one program? for example a typical program where you can open one window with a About where you can put one picture and also you can click and closed this window without close the main program, or open one window where you show a list for example the files and you can close this window as the File list of WinAmp/AmigaAmp, is is possible with Hollywood and How?
Thank you for you time, best regards from your friend Juan Carlos.
[26 Sep 2010] Open/closed Windows
[26 Sep 2010] Re: Open/closed Windows
Note: This is an archived post that was originally sent to the Hollywood mailing list on 26 Sep 2010 16:24:46 +0200
Ciao Herran,
Ciao Herran,
have you looked at "Multi Displays" Example ?Hello Andreas: have you some example to open close windows from one program? for example a typical program where you can open one window with a About where you can put one picture and also you can click and closed this window without close the main program, or open one window where you show a list for example the files and you can close this window as the File list of WinAmp/AmigaAmp, is is possible with Hollywood and How? Thank you for you time, best regards from your friend Juan Carlos.
Simone"Tuxedo"Monsignori, Perugia, ITALY.
- Juan Carlos
- Posts: 891
- Joined: Mon Sep 06, 2010 1:02 pm
[26 Sep 2010] Re: Re: Open/closed Windows
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 26 Sep 2010 17:29:03 +0000 (GMT)
Hello Simone:
Yes I saw the example with the "Multi Displays" but when you close one all are closed, besides the displays not has one button to autoclose, not the left corner button, one button in the center down as a requester window, and this example in the Hollywood I haven't saw, and I'm interested in these examples.
Saludos desde Palencia.
Hello Simone:
Yes I saw the example with the "Multi Displays" but when you close one all are closed, besides the displays not has one button to autoclose, not the left corner button, one button in the center down as a requester window, and this example in the Hollywood I haven't saw, and I'm interested in these examples.
Saludos desde Palencia.
[26 Sep 2010] Re: Open/closed Windows
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 26 Sep 2010 19:14:31 -0000
If you want a closing of the main window to end the program, but you want a closing of any other display only to close that specific window (without ending the program), you could use the following code:
If you want a closing of the main window to end the program, but you want a closing of any other display only to close that specific window (without ending the program), you could use the following code:
Code: Select all
Function p_CheckClose(msg)
If ToNumber(msg.ID)=1
End()
Else
CloseDisplay(msg.ID)
EndIf
EndFunction
InstallEventHandler({CloseWindow=p_CheckClose})
- Juan Carlos
- Posts: 891
- Joined: Mon Sep 06, 2010 1:02 pm
[27 Sep 2010] Re: Re: Open/closed Windows
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 27 Sep 2010 09:49:28 +0000 (GMT)
Thank you rev for your help, now I'm more oriented way forward, thank you again.
Best regards from Juan Carlos.
Thank you rev for your help, now I'm more oriented way forward, thank you again.
Best regards from Juan Carlos.