Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Closed] Menu click
#5
Cool, I just tweaked the code to be able to directly copy to clipboard on right click,
in fact added the same code to autoclose menu on paste in clipboard (right click) from left click.

Function drag_drop_text_menu_manager
Code:
Copy      Help
;gRight
i=DDTM_GetItem(lParam wParam t_csv); if(i<0) ret
_s=DDTM_GetItemText(t_csv i); _s.setclip
w=child(mouse 1)
act w; err
xm p w 1
xy=p.y<<16|p.x
SendMessage w WM_LBUTTONDOWN MK_LBUTTON xy
SendMessage w WM_LBUTTONUP 0 xy


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)