Lance (and/or other interested members).
Searched the forums in vain for discussions on this notion.
The problem is this:
1. Large application, with all modules running as tiny EXE's shelled from the master (parent) module.
2. Each shelled EXE must stay within the master window, i.e. as a child process.
3. Shelled EXE's must be able to co-exist with siblings.
4. Shelled EXE's must be modeless, since we want to hop between siblings, when simultaneous access required.
5. I use only Shell and DDT (and not CreateProcess etc. via Win32 API).
I have successfully solved all the data transfer issues, but cannot get a modeless dialog to function as a child process, when it's not part of the main module.
The problem is not related to Shell, since the Exe's run fine on their own, until %WS_CHILD style is used, then they terminate immediately.
All modules use the proper approach (i.e. message pumping via DIALOG DOEVENTS and callbacks) as documented in previous forums on modeless dialogs.
Simple test: I modified your "find" dialog in Address sample as a stand-alone modeless dailog. It runs fine from the desktop, but the instant one adds %WS_CHILD, it behaves like a teenager and vanishes.
Your opinion would be greatly appreciated.
Searched the forums in vain for discussions on this notion.
The problem is this:
1. Large application, with all modules running as tiny EXE's shelled from the master (parent) module.
2. Each shelled EXE must stay within the master window, i.e. as a child process.
3. Shelled EXE's must be able to co-exist with siblings.
4. Shelled EXE's must be modeless, since we want to hop between siblings, when simultaneous access required.
5. I use only Shell and DDT (and not CreateProcess etc. via Win32 API).
I have successfully solved all the data transfer issues, but cannot get a modeless dialog to function as a child process, when it's not part of the main module.
The problem is not related to Shell, since the Exe's run fine on their own, until %WS_CHILD style is used, then they terminate immediately.
All modules use the proper approach (i.e. message pumping via DIALOG DOEVENTS and callbacks) as documented in previous forums on modeless dialogs.
Simple test: I modified your "find" dialog in Address sample as a stand-alone modeless dailog. It runs fine from the desktop, but the instant one adds %WS_CHILD, it behaves like a teenager and vanishes.
Your opinion would be greatly appreciated.
Comment