Information générale
Catégorie:
Codage, syntaxe et commandes
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement