Hi
I have made a hook
my code is not working ....why I can't get the input of my mouse?
I have made a hook
Strict Function MyEventHook:Object( id,data:Object,context:Object ) Local ev:TEvent=TEvent(data) Select ev.id Case EVENT_WINDOWCLOSE Print "yess work" End 'POP UP Case Event_Mousedown Select ev.data Case Mouse_Right End End Select End Select End Function AddHook EmitEventHook,MyEventHook Local window:TGadget window=CreateWindow( "A window!",0,0,640,480 ) While True WaitEvent Wend
my code is not working ....why I can't get the input of my mouse?