Bob K
2009-01-02 17:17:57 UTC
I've converted my MDI application to display tabbed child windows and added
a ribbon. Everything is basically okay except that I now notice that
EVERYTIME I click on a ribbon tab, it redraws all of the child panes. The
whole window blinks off and on. I can't see any reason why that should
affect the child windows.
In using spy, I see a WM_ERASEBKGND being sent to all the child windows!
I took one of the sample programs "office2007" and replaced CView with
CListView and populated it with some dummy entries and I am seeing the same
issue. The list is being redrawn every time the tab on the ribbon is clicked
(oh, I also need to add a second tab since that project creates a ribbon
with a single tab).
I notice if I create child windows using the new feature pack classes, such
as CDockablePane, then THAT window does not flash.
Any ideas?
Thanks,
Bob
a ribbon. Everything is basically okay except that I now notice that
EVERYTIME I click on a ribbon tab, it redraws all of the child panes. The
whole window blinks off and on. I can't see any reason why that should
affect the child windows.
In using spy, I see a WM_ERASEBKGND being sent to all the child windows!
I took one of the sample programs "office2007" and replaced CView with
CListView and populated it with some dummy entries and I am seeing the same
issue. The list is being redrawn every time the tab on the ribbon is clicked
(oh, I also need to add a second tab since that project creates a ribbon
with a single tab).
I notice if I create child windows using the new feature pack classes, such
as CDockablePane, then THAT window does not flash.
Any ideas?
Thanks,
Bob