Keyboard shortcuts/hotkeys in Delphi

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

ams4519
User
Posts: 1
Joined: Fri Apr 17, 2009 1:38 pm

Keyboard shortcuts/hotkeys in Delphi

Post by ams4519 »

I have a question I've been having a little trouble with, dealing with built-in hotkeys in PDF X Viewer.

I am using PDF X Viewer as a component in a non-Modal form. In Delphi, when the program runs, there seems to be no way to enable hot keys or shortcut keys while the user is editing in the component. The hotkeys or shortcuts simply do nothing.

I have been able to add shortcuts, manually in Delphi code, when PDF X Viewer is not the active component, but I am at a loss for what to do when the active component is PDF X Viewer.

The dev environment is Delphi 5.

Thank you for your help!
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Keyboard shortcuts/hotkeys in Delphi

Post by Vasyl - PDF-XChange »

In Delphi, when the program runs, there seems to be no way to enable hot keys or shortcut keys while the user is editing in the component. The hotkeys or shortcuts simply do nothing.
Reason of this behavior: our PDF-XChange control exists in separate process, therefore all keyboard messages from this process are inaccessible for your application. In the future we planning to resolve this problem.
Thanks.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
alaina.somers
User
Posts: 1
Joined: Mon Mar 16, 2009 5:55 pm

Re: Keyboard shortcuts/hotkeys in Delphi

Post by alaina.somers »

Thank you!
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Keyboard shortcuts/hotkeys in Delphi

Post by John - Tracker Supp »

Pleasure :)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com