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 » Caption bar in resizable dialog Collapse All
Subject Author Date
Juri Tsjornoi Sep 17, 2004 - 9:09 AM

Hello!


I’m interested if there’s any way to remove caption bar from resizable bar?


Thanks in advance, Jura.

Technical Support Sep 20, 2004 - 9:02 AM

Dear Jura,

You can specify the resizable bar that doesn’t have a caption when the resizable bar is created (the CBRS_GRIPPER flag, which defines the caption, is not included into the styles):

if( ! m_wndBarWithoutCaption.Create(
   NULL,
   this,
   ID_BAR_WITHOUT_CAPTION,
   WS_CHILD|WS_VISIBLE
   |CBRS_TOP|CBRS_FLYBY
   |CBRS_SIZE_DYNAMIC
   )
)
{
   ASSERT( FALSE );
   return -1;
}