Re: Keyboard control in mappoint activex control

djcapslock
03-10-2005, 05:26 AM
I am using the mappoint activex control in a MFC program. When the focus is on the activex control I do not recieve keyboard input. How can I detect keyboard input, to always enable shortcuts to work in my dialog.

David Capon

Wilfried
03-10-2005, 10:16 AM
Hi,

Set the Form where the component sits on his KeyPreview property to true. Then all key messages will go to the Form first, and then to the control.

 
Web mp2kmag.com
mapforums.com