Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
icons in PopupMenu
#6
i have a workaround.

Code:
Copy      Help
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 ?
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)