I'm writing a non-rectangular ActiveX control primarily for use in MS Excel 97. I'm using VC6 and the MFC ActiveX wizard. I have two problems which I can't seem to find a way around.

1. My control works fine in the Test Container but the controls properties are not accessible from MS Excel. Any idea what I might have missed?

2. I'm using windowless activation and displaying the control transparently using a mask. This works fine most of the time but when the Excel sheet is scrolled one row/column at a time and my control starts to move off-screen, it seems like the control receives an OnDraw event *before* Excel has refreshed it's underlying display. This means I include an unwanted portion of my control in the mask area and so replicate the corruption until the control disappears offscreen. Is there some way I can tell my control to wait until Excel has finished redrawing before