Hi,

I'm writing a dialog control as an ActiveX control, that is planed to run in another ActiveX control. For the class derived from COleControl I need a functions that distributes the messages to other classes of the control.

I tried PreTranslateMessage, but this function is never called. The (undocumented) MFC-function OnActivateInPlace (called in OnCreate) returns S_OK, but PreTranslateMessage still is not called at all.

Any suggestions are appreciated, Rudolf