|
Hi,
My app has several "modules" on a menu. Each is started with a new thread and I then disable the menu so that a "module" cannot be called more than once. The STD:WindowList is on a menu bar item and nicely lists the open windows so that users can "flip" between them.
Ideally, though, I'd like to get the system to do the same function/feature when they click back on the original menu items. So, for example, if I have a menu item called "Module 1" when this is first selected the new thread will start (and the same for "Module 2", etc) but when they next select "Module 1" it is brought to the front as per the way that STD:WindowList works.
I can get this working at the "top" of the thread, but each thread/module has several child windows and so I don't want to embed code into several hundred procedures.
There must be a way to tap into the features/functions of STD:WindowList but I cannot find any documentation.
Any suggestions?
Thanks,
Mark
|