Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transparent Desktop Toolbar
#3
Gintaras Wrote:Probably would need a toolbar hook function with a timer...

To detect OLE drag and drop also can be used accessibility trigger.
Function acc_drag_detect
Trigger $a 8 0 0 "CLIPBRDWNDCLASS"     Help - how to add the trigger to the macro
Code:
Copy      Help
function hwnd idObject idChild
OnScreenDisplay "Drag and drop detected" -1 0 0 "" 0 0 8
rep
,1
,int tid=GetWindowThreadProcessId(hwnd 0); if(!tid) break
,GUITHREADINFO g.cbSize=sizeof(g)
,if(!GetGUIThreadInfo(tid &g)) break
,if(g.hwndCapture!hwnd) break

wow, this is a good start!!!
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)