Right click mouse event??
Posted: Tue Feb 17, 2004 10:26 pm
I'm trying to get a response from a ButtonImageGadget being clicked, but using the right mouse button. Is this possible at all?
The EventType() command says it captures this? So, my code looks like this:-
Problem seems to be that :-
- doesn't catch the right button press?
So, does anyone know a work-around?
The EventType() command says it captures this? So, my code looks like this:-
Code: Select all
Event = EventType()
Left_Pressed =0
Right_Pressed =0
If Event = #PB_EventType_LeftClick
Left_Pressed =1
EndIf
If Event = #PB_EventType_RightClick
Right_Pressed =1
EndIf
Code: Select all
EventID = WaitWindowEvent()So, does anyone know a work-around?