StatusBar problem
-
What is the rigth method to add a Statusbar to a Dialog? I had done this way. CStatusBar m_StatusBar //Memeber variable m_StatusBar->Create(this); But whenever i call 'Invalidate' method the status bar also flickering:(. Is the GetClientRect retrieves the StatusBar area also? Thanks in Advance:) Ann
-
What is the rigth method to add a Statusbar to a Dialog? I had done this way. CStatusBar m_StatusBar //Memeber variable m_StatusBar->Create(this); But whenever i call 'Invalidate' method the status bar also flickering:(. Is the GetClientRect retrieves the StatusBar area also? Thanks in Advance:) Ann
I think the status bar is flickering because it is a child of the dialog. If you invalidate the entire dialog, then the status bar comes along for the ride. Some things I would try: 1. Invalidate only the specific client area of the dialog that does not include the status bar. 2. Adjust the client rect of your dialog to exclude the status bar. 3. Set the clip children style of the dialog, so it does not erase or repaint the area with the status bar or any other child controls.