WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
Accessing a sub page within a property page with shortcut keys needs special treatment. I used Zafirs source from his article Using shortcut keys in property pages as a starting point. To make sure that a key stroke reaches any of the sub pages I am checking the key in the PreTranslateMessage of the Dialog first. If the key is not one of the upper pages I am sending the message to the sheet of the sub pages. If the key is not found it is finally swollen by the IsDialogMessage function.
If a subpage has the focus and an ALT + key combination is pressed and the key belongs to an upper page the
sub page has to make sure that the key is send back by calling:
The code is not perfect but you will get my drift..
Last updated: 09/13/98