Intercept Ctrl key and mouse down Combination

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

Intercept Ctrl key and mouse down Combination

Post by docu-track99 »

Hi Support,

How can I intercept ctrl key and mouse down Combination? Below is the code on how I intercept left mouse down but don't know how to do key combination.


Code:

Public Sub OnEvent(pSender As IUIX_Obj, pEvent As IUIX_Event) Implements IUIX_ObjImpl.OnEvent

If Else pEvent.Code = CInt(&H201) Then
.......
End If
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Intercept Ctrl key and mouse down Combination

Post by Sasha - Tracker Dev Team »

Hello docu-track99,

There is a way to find out whether the one of the system keys are pressed right now - look for that method for your language and you should be able to implement this.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply