Page 1 of 1
Going from Menu window to new window & back
Posted: Wed Jun 04, 2003 12:03 am
by RedRebel
Could any one give me a snippet of code shoing how to leta menu pick a program and then turn back to the main menu correctly?

Posted: Wed Jun 04, 2003 12:17 am
by aszid
what exactly do you mean? do you mean, have an application open a new window, then switch focus back to the window that it was opened from?
*edit*
if that is the case, try adding this to your code immediately after you open the new window:
UseWindow(#window)
ActivateWindow()
#window = the constant for the window you want to give focus to.
*end of edit*
Posted: Wed Jun 04, 2003 1:55 am
by RedRebel
I want to open menu in window zero say. Then Call a sub program. The sub program I want to open full screen, so I assume I have to Hide window 0, and open a New window. Then that sub is supposed to do its thing, say enter some data. After that I want the program to return to the original menu so it can select a nother sub program ect.
