Is it possible to manually resize a statusbar?
-
I am in desperate need of being able to increase the height of my statusbar in an Doc/View MFC application. I need to owner draw the whole thing as well, but I don't think that is much of a problem. I tried looking into code like CSizingControlBar but I wasn't able to figure out what is relevant and what is not as it is extremely complicated. I would have never thought that something that should be as trivial as resizing a statusbar would be so difficult. Cheers, Clint
-
I am in desperate need of being able to increase the height of my statusbar in an Doc/View MFC application. I need to owner draw the whole thing as well, but I don't think that is much of a problem. I tried looking into code like CSizingControlBar but I wasn't able to figure out what is relevant and what is not as it is extremely complicated. I would have never thought that something that should be as trivial as resizing a statusbar would be so difficult. Cheers, Clint
m_wndStatusBar.GetStatusBarCtrl().SetMinHeight(nMinimumHeight)
inCMainFrame::OnCreate()
after the status bar has been created. Hope this helps, Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"