Re: How to hide & close main win on open (win32lib)
- Posted by "danielmoyer" <danielmoyer at prodigy.net> Apr 08, 2005
- 439 views
> > posted by: xEmul <xemul at ukr.net> > > xEmul wrote: > > > > Hello! > > > > I need help! > > I have 2 windows: win1 and win2 > > win1 used by WinMain > > How I can do following: > > 1. on open win1 show modal win2, but don't show win1 > > 2. on close win2 close app without showing win1 > > > > (1) may be realised by openDialog. But if I close win2 - win1 is appear and > > don't close > > if I use openWindow(win2, Modal) - win1 is appear immediately, > > but on close win2 correct work closeApp > > > > It may be the same as showing password dialog > > and closing app by hiting Cancel button on it > > > > I want hide and close main window on its open event without appearing > and free PC memory from exw.exe > > Is it possible? > If I understand what you're wanting correctly, it wouldn't seem likely that you could free PC memory from exw.exe, 'cause exw.exe *has* to be running to be showing win2, I think. Dan Moyer