Going from Menu window to new window & back

Just starting out? Need help? Post your questions and find answers here.
RedRebel
New User
New User
Posts: 9
Joined: Fri May 30, 2003 2:33 am
Location: Southern Illinois USA

Going from Menu window to new window & back

Post 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? :?
It took 73 years to make me this stupid!
____________________________________


Athalon XP2200, Soltek Sln75 Mobo 512 DDR
User avatar
aszid
Enthusiast
Enthusiast
Posts: 162
Joined: Thu May 01, 2003 8:38 pm
Location: California, USA
Contact:

Post 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*
--Aszid--

Making crazy people sane, starting tomorrow.
RedRebel
New User
New User
Posts: 9
Joined: Fri May 30, 2003 2:33 am
Location: Southern Illinois USA

Post 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. :?
It took 73 years to make me this stupid!
____________________________________


Athalon XP2200, Soltek Sln75 Mobo 512 DDR
Post Reply