Our application uses several 15 menu (File, edit, window, help etc.) with around 100 baritems in them, an XP toolbar and tabbed MDI. Sometimes menus, toolbar and tabs of tabbed MDI are not getting refreshed. All other controls in child windows and main form are getting refreshed. I noticed this a lot of times and could not reproduce. This happens a lot on a laptop when I switch between a maximized MS Word window and my application. The only way to get them repainted is by minimizing and maximizing our app.
Our app takes about 25-50MB. The laptop has total 256MB RAM and 50 MB remaining while running my application. I don't see any errors getting printed on console. I am not sure what is happening. Are the paint events getting lost somewhere?
Has anyone else noticed this kind of problem?