Click here to Skip to main content
15,886,059 members

Comments by RichardK151 (Top 1 by date)

RichardK151 28-Apr-21 1:06am View    
Hi Karsten,
the event OnEraseBkgnd is not fired by the framework as stated in the question. I think this is because the control is windowless. I have implemented the method IOleInPlaceObjectWindowless::OnWindowMessage. The only messages handled by this method are cursorchange and mousebutton events. These events are sent to the message map of the control. No WM_PAINT, WM_ERASEBKGND etc...