Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - no resize for Statusbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

no resize for Statusbar

 Post Reply Post Reply
Author
Message
Bryant View Drop Down
Newbie
Newbie


Joined: 24 August 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bryant Quote  Post ReplyReply Direct Link To This Post Topic: no resize for Statusbar
    Posted: 24 August 2008 at 3:52am
My application has a statusbar above a toolbar at the bottom. When I resize the statusbar with the size gripper at the right corner, the status bar will reposition below the toolbar by itself.
Is there anyway to remove the size gripper for the CXTPStatusBar? I found a protected variable 'm_bShowSizeGripper', tried to inherit a class from it and set that variable to FALSE at the override constructor but it didn't work.
 
Thanks.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2008 at 1:46am
Hi,
to remove gripper from StatusBar you have to make your frame not resizable. don't set WS_THICKFRAME style for frame.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.