I have an ActiveX control that I am translating from a
delphi ActiveX into ATL 7 in Visual Studio.net.
In it, I create a window that is a child of the controls
window (the control is set to m_bWindowOnly = true)
, and the window has a message queue. When I click on
this window, I get WM_LBUTTONDOWN (etc), so i know the
windows are being created correctly, and the meesage
queue is being processed. However, I never seem to be
able to get WM_CHAR or WM_KEY* messages. This code is in
a DLL that operates correctly under the Delphi ActiveX.
Is there something happening under ATL 7 (intercepting
messages, or something else) that could cause this
behavior? If so, is there a way to fix it?