General information
Category:
Coding, syntax & commands
I don't think you need to mess with the mouseup event. I've had good luck using in the click():
if GetKeyState(VK_SHIFT)<0 and GetKeyState(VK_CONTROL)<0
* Shift and Ctrl are down
endif
A click() for an object requires both a mousedown and mouseup to occur over the same object, and it occurs after the mouseup I think. If you use mousedown or mouseup, I think you can actually fire an event for an object that was only half-clicked.
>>IS 'SHIFT' THERE meant the SHIFT button in the keyboard or not...
>>
>>Cause what i meant is Combination between the keyboard and mouse....
>>
>>Where the keyboard is represent with CTRL key and the MOuse with LEFT CLICK
>>
>>
>>Is that the same with it....
>>
>>thanks....
>>
>>regards,
>>tut_arie
>
>On Click Events you do not have possibility to detect keyboard buttons. Use MouseDown or MouseUp events to trigger a flag, which you can use on Click events
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only