Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get iid of qm item under mouse pointer (hover)
#2
Macro Macro3288
Code:
Copy      Help
2
out sub.QmItemIdFromMouse


#sub QmItemIdFromMouse
function#

int c=id(2202 _hwndqm)
TVHITTESTINFO ht
xm ht.pt; ScreenToClient(c &ht.pt)
int hi=SendMessage(c TVM_HITTEST 0 &ht); if(hi=0) ret
TVITEMW t.hItem=hi; t.mask=TVIF_PARAM
if(SendMessage(c TVM_GETITEMW 0 &t)) ret t.lParam


Messages In This Thread
RE: Get iid of qm item under mouse pointer (hover) - by Gintaras - 04-19-2023, 02:54 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)