[26 Sep 2010] Open/closed Windows

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Juan Carlos
Posts: 891
Joined: Mon Sep 06, 2010 1:02 pm

[26 Sep 2010] Open/closed Windows

Post by Juan Carlos »

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.
User avatar
Tuxedo
Posts: 351
Joined: Sun Feb 14, 2010 12:41 pm

[26 Sep 2010] Re: Open/closed Windows

Post by Tuxedo »

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,
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.
have you looked at "Multi Displays" Example ?
Simone"Tuxedo"Monsignori, Perugia, ITALY.
User avatar
Juan Carlos
Posts: 891
Joined: Mon Sep 06, 2010 1:02 pm

[26 Sep 2010] Re: Re: Open/closed Windows

Post by Juan Carlos »

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.
PEB
Posts: 569
Joined: Sun Feb 21, 2010 1:28 am

[26 Sep 2010] Re: Open/closed Windows

Post by PEB »

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:

Code: Select all

Function p_CheckClose(msg)
	If ToNumber(msg.ID)=1
		End()
	Else
		CloseDisplay(msg.ID)
	EndIf
EndFunction
InstallEventHandler({CloseWindow=p_CheckClose})
User avatar
Juan Carlos
Posts: 891
Joined: Mon Sep 06, 2010 1:02 pm

[27 Sep 2010] Re: Re: Open/closed Windows

Post by Juan Carlos »

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.
Locked