> ------------------------------------ > IN the attached screen shot, there is three unexpected items (No.0, an > invisible window no title, and N0. 2 the bar of powerpro, and the last one > "program manager" which is also invisible). For the two invisible item, the > win.visible() returns 1 for both of them. Where is the problem?
YOu should also eliminate tool windows (win.toolwindow). Then you may need to eliminate standard system windows (likeprogrm manager) manually (eg by standard caption or class). > > > The most important question is: is it possible to add program icons to the > menu? Without icons, the list is not a better choice than *windows show > menu. Well, it does have the shortcuts, which I thought were your main requirement. Forthermore, is it possible to format the menu, change the Font and > color of the text (not the background). The only way to do the above that I can think of is to get the exe file of each program, then general a .ini file for the menu using the standard PowerPro command list format. Each entry would have caption as above, icon equal to the exe file, and command equal to the win.show. Then menu.show the file. This may be too slow for task switching but it is the best I can thinnk of.
