I have an ActiveX control, that creates a child dialog, that has a bunch
of mfc control on it. One of which is a CListCtrl. In the client app,
this all works fine until, the ActiveX control is obscured by either
another program or window in same app (its an mdi app), then the list
control doesn't redraw, when I bring it into the foreground.
Other control on the same ActiveX control redraw fine, just not the list
control. If I click on the list control, it will only redraw the item I
select and the one the got unselected (single selection behaviour).
To get it to redraw I can move the window off the screen, then it will
redraw the part of the list control that got obscured off the edge of
the main client window.
Just noticed also, that if I move another window in front of it, then
move it away, the list control redraws gine. Its just if I move a window
in front of it then, switch to the problem app.
I'm not doing anything clever like custom drawing and the like. Just an
ActiveX control, with a child dialog, which has a collection of controls
on it. Any ideas?
Arthur.