Why doesn't PreTranslateMessage(MSG* pMsg) get called from an ActiveX control when the ActiveX control is displayed in the webpage (IE)? I'm using PreTranslateMessage to display tooltips via:
BOOL CPsaSelectorCtrl:reTranslateMessage(MSG* pMsg)
{
//if the toop tip is valid
if(m_pToolTip)
m_pToolTip->RelayEvent(pMsg);
return COleControl:reTranslateMessage(pMsg);
}
Anyway, when I display the ActiveX control in the 'ActiveX Control Test Container' utility program PreTranslateMessage gets called and everything works. When I placed the ActiveX control on a webpage it DOESN'T get called and no tooltips are displayed! How could I fix this?
Thanks,
bitwise
BOOL CPsaSelectorCtrl:reTranslateMessage(MSG* pMsg)
{
//if the toop tip is valid
if(m_pToolTip)
m_pToolTip->RelayEvent(pMsg);
return COleControl:reTranslateMessage(pMsg);
}
Anyway, when I display the ActiveX control in the 'ActiveX Control Test Container' utility program PreTranslateMessage gets called and everything works. When I placed the ActiveX control on a webpage it DOESN'T get called and no tooltips are displayed! How could I fix this?
Thanks,
bitwise