Detect event in ActiveX control

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

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

Post Reply
Parps
User
Posts: 71
Joined: Mon Sep 28, 2009 10:06 am

Detect event in ActiveX control

Post by Parps » Fri Oct 25, 2019 5:49 pm

Hi Support,

This is an old issue we never paid attention to. Today we just wondered if it is possible to solve.

A few years ago I made PDF-viewer with the ActiveX control in Clarion. The issue is that the user presses the <Esc> key the viewer isn’t closing. But if the user first clicks on a random another window and than clicks on title bar of the viewer the <Esc> key works as expected closes the viewer window. So it seems that when the ActiveX control has the focus the <Esc> key isn’t trapped for some reason. How can I make this work?

I know Clarion isn’t supported anymore, but I still hope this can be solved. The link to the original post in the Clarion:
viewtopic.php?f=38&t=16238&p=66314&hili ... cut#p66314

Cheers,
Parps

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13626
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Detect event in ActiveX control

Post by Tracker Supp-Stefan » Mon Oct 28, 2019 4:24 pm

Hello Parps,

Maybe this will help you with handling keyboard events in the Viewer AX:
viewtopic.php?p=72601#p72601

Regards,
Stefan

Post Reply