12-01-2008, 09:41 PM
I think it's conflicting with some of my other macs and filter functions that use QM and middle click.
do i take these two and combine them into one with an integer'd case statement?
Function FF_QM_menu_File2
Function FF_QM_Open_items
do i take these two and combine them into one with an integer'd case statement?
Function FF_QM_menu_File2
if(GetWinId(f.hwnd2)!=2202) ret
int+ g_qm_menu_iid
TVHITTESTINFO ht
GetCursorPos &ht.pt; ScreenToClient f.hwnd2 &ht.pt
SendMessage f.hwnd2 TVM_HITTEST 0 &ht
if(ht.hItem)
,TVITEM ti.hItem=ht.hItem
,SendMessage f.hwnd2 TVM_GETITEM 0 &ti
,g_qm_menu_iid=ti.lParam
else g_qm_menu_iid=0
;out g_qm_menu_iid
ret iidFunction FF_QM_Open_items
