|
-
May 3rd, 1999, 06:11 AM
#1
VC++ MFC ActiveX and Excel question
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|