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
This is a discussion on Re: Keyboard control in mappoint activex control within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am using the mappoint activex control in a MFC program. When the focus is on the activex control I ...
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
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.
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
There are currently 1 users browsing this thread. (0 members and 1 guests)