Skip to main content

[Migrated content. Thread originally posted on 23 February 2006]

I want to do the following :

Program A - initial program - calls Program B - floating window.
Is there a way to let Program B to be able to have the minimized-icon available ?

If not, how to accomplish this ?
Program A is a password screen and gives a linkage to Program B that is the menu program, calling all other programs.

So if a user press Esc on Program B, the password program has to be visible again.

All works fine, just that users want to be able to minimize the menu program.

[Migrated content. Thread originally posted on 23 February 2006]

I want to do the following :

Program A - initial program - calls Program B - floating window.
Is there a way to let Program B to be able to have the minimized-icon available ?

If not, how to accomplish this ?
Program A is a password screen and gives a linkage to Program B that is the menu program, calling all other programs.

So if a user press Esc on Program B, the password program has to be visible again.

All works fine, just that users want to be able to minimize the menu program.
Found it ...

Program A
*********
Auto Minimize : True
Auto Resize : False
Modeless : False
Window Type : Initial

Program B
********
Auto Minimize : True
Auto Resize : False
Modeless : False
Window Type : Independent

[Migrated content. Thread originally posted on 23 February 2006]

I want to do the following :

Program A - initial program - calls Program B - floating window.
Is there a way to let Program B to be able to have the minimized-icon available ?

If not, how to accomplish this ?
Program A is a password screen and gives a linkage to Program B that is the menu program, calling all other programs.

So if a user press Esc on Program B, the password program has to be visible again.

All works fine, just that users want to be able to minimize the menu program.
Hans

I have a login program with its Window Type set to "Independent". It checks the user name and password and sets a flag to say if the password is OK or not. It continues normally by destroying the login window and before exiting the program if the password is ok it calls the main menu program passing variables in linkage section.

The main menu program Window Type is also set to "Independent". Because the login window is destroyed, the main menu window now becomes the parent window. It also has the minimised button available.

Login program logic

Init-Login
Accept Login-Window
Validate-User-Password
Destroy Login-Window
If Password-OK
Call "main-menu" using linkage-vars
End-If
Exit Program

I hope this helps.

SR

[Migrated content. Thread originally posted on 23 February 2006]

I want to do the following :

Program A - initial program - calls Program B - floating window.
Is there a way to let Program B to be able to have the minimized-icon available ?

If not, how to accomplish this ?
Program A is a password screen and gives a linkage to Program B that is the menu program, calling all other programs.

So if a user press Esc on Program B, the password program has to be visible again.

All works fine, just that users want to be able to minimize the menu program.
Hans

I have a login program with its Window Type set to "Independent". It checks the user name and password and sets a flag to say if the password is OK or not. It continues normally by destroying the login window and before exiting the program if the password is ok it calls the main menu program passing variables in linkage section.

The main menu program Window Type is also set to "Independent". Because the login window is destroyed, the main menu window now becomes the parent window. It also has the minimised button available.

Login program logic

Init-Login
Accept Login-Window
Validate-User-Password
Destroy Login-Window
If Password-OK
Call "main-menu" using linkage-vars
End-If
Exit Program

I hope this helps.

SR

[Migrated content. Thread originally posted on 23 February 2006]

I want to do the following :

Program A - initial program - calls Program B - floating window.
Is there a way to let Program B to be able to have the minimized-icon available ?

If not, how to accomplish this ?
Program A is a password screen and gives a linkage to Program B that is the menu program, calling all other programs.

So if a user press Esc on Program B, the password program has to be visible again.

All works fine, just that users want to be able to minimize the menu program.
Hans

I have a login program with its Window Type set to "Independent". It checks the user name and password and sets a flag to say if the password is OK or not. It continues normally by destroying the login window and before exiting the program if the password is ok it calls the main menu program passing variables in linkage section.

The main menu program Window Type is also set to "Independent". Because the login window is destroyed, the main menu window now becomes the parent window. It also has the minimised button available.

Login program logic

Init-Login
Accept Login-Window
Validate-User-Password
Destroy Login-Window
If Password-OK
Call "main-menu" using linkage-vars
End-If
Exit Program

I hope this helps.

SR