RecalcLayout() hides status bar
-
I am calling MainFrame's RecalcLayout() to refresh while showing/hiding a dialogbar. But this is causing a problem, status bar of application got hidden after RecalcLayout() call. But If I minimize and restore application or resize it, status bar is appearing again. I want to show status bar always... How to solve this problem? Same post at msdn: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d885ea7c-b61e-4550-8029-3d19521fd1bc Thanks
-- "Programming is an art that fights back!"
-
I am calling MainFrame's RecalcLayout() to refresh while showing/hiding a dialogbar. But this is causing a problem, status bar of application got hidden after RecalcLayout() call. But If I minimize and restore application or resize it, status bar is appearing again. I want to show status bar always... How to solve this problem? Same post at msdn: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d885ea7c-b61e-4550-8029-3d19521fd1bc Thanks
-- "Programming is an art that fights back!"
Try calling
UpdateWindow
afterRecalcLayout
.«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++) -
Try calling
UpdateWindow
afterRecalcLayout
.«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++)