07-02-2005, 06:13 PM
i have a workaround.
it also shows the help icon for qm help.
btw. i think its not necessary to close qm help on qm close.
what is the reason for doing so ?
ClearOutput
str titles exe
ARRAY(int) handles
GetWindowList &titles "" 1|2|4 0 0 handles
ARRAY(str) arr = titles
for(int'i 0 arr.len)
,int hwnd=handles[i]
,exe.getwinexe(hwnd 1)
,if _s.getfilename(exe 0)=="blackbox"
,,exe = "explorer.exe *0"
,if arr[i]=="QM Help"
,,exe = "c:\windows\hh.exe *1"
,arr[i].findreplace(":" " ") ;;escape :
,arr[i].escape(1) ;;escape "
,arr[i].formata(" : * %s" exe)
,
titles=arr
int p=DynamicMenu(titles "" 1)
if(p) act handles[p-1]
it also shows the help icon for qm help.
btw. i think its not necessary to close qm help on qm close.
what is the reason for doing so ?