How to prevent [Ctrl]+[Tab] from showing viewer tab list?
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
How to prevent [Ctrl]+[Tab] from showing viewer tab list?
The subject pretty much says it all.
When the user has given focus to the viewer within my application, they will press [Ctrl]+[Tab] twice and get the viewer's popup display of which tabs are active such that they can activate a different tab.
How do I turn this off?
I have:
-- embedded the viewer within my product,
-- set the viewer to Single Document mode ("General.DocumentInterface", "SET", 1),
-- turned off all accelerators (Viewer.AllowAccelerators = false)
If I'm telling the viewer to be in Single Document mode, then I should never even see this popup.
Any ideas are appreciated.
When the user has given focus to the viewer within my application, they will press [Ctrl]+[Tab] twice and get the viewer's popup display of which tabs are active such that they can activate a different tab.
How do I turn this off?
I have:
-- embedded the viewer within my product,
-- set the viewer to Single Document mode ("General.DocumentInterface", "SET", 1),
-- turned off all accelerators (Viewer.AllowAccelerators = false)
If I'm telling the viewer to be in Single Document mode, then I should never even see this popup.
Any ideas are appreciated.
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
Hi, DSSavant.
When (Viewer.AllowAccelerators==false) or (General.DocumentInterface==SDI) then control shouldn't display this documents navigator - we will fix this bug in the next build.
Currently you may try to use the next workaround:
Best
Regards.
When (Viewer.AllowAccelerators==false) or (General.DocumentInterface==SDI) then control shouldn't display this documents navigator - we will fix this bug in the next build.
Currently you may try to use the next workaround:
Code: Select all
eventhandler OnEvent(type, name, dataIn, out dataOut)
{
if ((type == PXCVA_OnNamedNotify) AND (name == "Notifications.Keyboard"))
{
int code;
ctrl.GetProperty("Notifications.Keyboard.Code", out code);
if ((code == VK_TAB) && IsCtrlKeyPressed())
{
ctrl.SetProperty("Notifications.Keyboard.Skip", "true");
}
}
}
Regards.
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
I tried the work around given and found it did Not work. Good try though.
Please let me know when the next build will be ready or a time frame when I should check back. Thanks!
Please let me know when the next build will be ready or a time frame when I should check back. Thanks!
-
- Site Admin
- Posts: 7362
- Joined: Wed Mar 25, 2009 10:37 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
Hi DSSavant
we expect the next build within the next 2 weeks, possibly sooner. Would you like to be notified when it is ready?
we expect the next build within the next 2 weeks, possibly sooner. Would you like to be notified when it is ready?
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
I would love to be notified, please and thank you.
-
- Site Admin
- Posts: 7362
- Joined: Wed Mar 25, 2009 10:37 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
sure - I can do that. I will both post here and send an email to the address you have on this forum account, the dan@ one...
regards
regards
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
Hi, DSSavant.
I forget say about one essential item - you should enable keyboard-events before:
Look to sdk-help for more info...
HTH.
I forget say about one essential item - you should enable keyboard-events before:
Code: Select all
ctrl.SetProperty("Notifications.Keyboard.Filter", "Down", 0);
HTH.
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
Tried with setting the additional filter with the same result --> When holding down the [Ctrl] key and then tapping [Tab] twice, the "tab selection" dialog will appear.
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
Hi, DSSavant.
Best
Regards.
I tried my workaround - it working correctly, I cannot reproduce any issue. Please check your code again... Maybe the "IsCtrlKeyPressed()" is not working as it should?Tried with setting the additional filter with the same result --> When holding down the [Ctrl] key and then tapping [Tab] twice, the "tab selection" dialog will appear.
Best
Regards.
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
I have it working properly in the Full Demo SDK code using the code you have given. I obviously am missing something in my own application that I need to hunt down. Thanks.
-
- Site Admin
- Posts: 7362
- Joined: Wed Mar 25, 2009 10:37 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
Hi DSSavant,
OK - let us know OFC if there is anything more you need here.

OK - let us know OFC if there is anything more you need here.

Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
Got it working. Thanks again.
-
- Site Admin
- Posts: 7362
- Joined: Wed Mar 25, 2009 10:37 pm
Re: How to prevent [Ctrl]+[Tab] from showing viewer tab list
most excellent! 

Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com