Apps executed with SHELL (now I want to deal with these apps) [RESOLVED]
Hi people.
I don't think that this can be done, but you guys can just try and prove me wrong. Suggestions are welcome.
Here's the story: I have an app (let's just call it my main window) which executes (SHELL) many other apps (executables). These newly opened windows are minimized without focus because I need to keep my eyes on the main window.
From time to time, I will need to see the content of one of these executables. I could simply click it in the taskbar, but this might get confusing since 25 apps might have been launched since.
Would there be a way to have a placeholder (somehow like the subform control) on my main window so I can see these apps in a portion of my main window? That way I'd still be seeing my main window, and a portion of that window would let me see these application as I want. (these 25 apps have been set with a application title so my main window could regodnize and deal with them).
I know these are strange methods, but it needs to be done that way. I can't use a subforms nor mdichild forms or whatever - they need to be executed seperately.
Any ideas?
Thanks
Re: Apps executed with SHELL (now I want to deal with these apps)
'Grasshopper' it can be done.
After launching a pgm you could use find window to get it's hwnd.
Then add the title to a listbox (and the hwnd to the lbo Itemdata property).
Later when clicking an entry in the lbo, you could use the hwnd to do things.
VB-Helper has this, and no doubt other examples, that may help -
http://www.vb-helper.com/howto_find_...hree_ways.html
Re: Apps executed with SHELL (now I want to deal with these apps)
Thanks for your feedback.
What you've said is what I have finally done. Hwnd makes it really easy to play with windows...
I was helped by that link: http://www.planet-source-code.com/vb...22324&lngWId=1
See ya.