Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » How do i hide the resizable gripper option on Statusbar Collapse All
Subject Author Date
howard liu Apr 18, 2008 - 9:33 AM

Hi supprot ,


can u help me to hide the resizable gripper appearance on the statusbar ?


 



 


thanks & regards,


Raghavendra H V

Technical Support Apr 19, 2008 - 7:31 AM

There is a WS_THICKFRAME window style, which indicates whether the window is resizable. You can make a window non-resizable by removing this style

ModifyStyle( WS_THICKFRAME, 0 );
If you want to leave the window resizable, simply override the CExtStatusControlBar::OnQueryGripperEnabledState() virtual method and return false in it:
virtual bool OnQueryGripperEnabledState() const
{
    ASSERT_VALID( this );
    return false;
}