Changing the height of a CstatusBar
-
Hi. Just curious if anyone knows an easy way to change the height of a CStatusBar? Thanks in advance. Stan the Man
-
Hi. Just curious if anyone knows an easy way to change the height of a CStatusBar? Thanks in advance. Stan the Man
Stan the man wrote:
an easy way
Move your chair closer? I haven't tried the following, but if you use CStatusBar::GetStatusCtrl, you can then use CStatusCtrl::SetMinHeight, which sounds like it should help. The msdn example for it has it being used in the OnCreate method of it's parent, which is before everything gets finally positioned, so probably a good time. Iain.
Iain Clarke appearing in spite of being begged not to by CPallini.
-
Stan the man wrote:
an easy way
Move your chair closer? I haven't tried the following, but if you use CStatusBar::GetStatusCtrl, you can then use CStatusCtrl::SetMinHeight, which sounds like it should help. The msdn example for it has it being used in the OnCreate method of it's parent, which is before everything gets finally positioned, so probably a good time. Iain.
Iain Clarke appearing in spite of being begged not to by CPallini.
Hi Iain. That did it. Thanks. Stan the man