Print Page | Close Window

How to remove the border of CTXReBar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=122
Printed Date: 16 May 2024 at 1:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to remove the border of CTXReBar
Posted By: owen
Subject: How to remove the border of CTXReBar
Date Posted: 08 August 2003 at 3:55am

I created a CTXReBar m_wndReBar by following codes:

 DWORD dwCtrlStyle = TBSTYLE_FLAT;
 DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC;

 if (!m_wndReBar.Create(this,  dwCtrlStyle, dwStyle)) {
  AfxMessageBox("Can not create Rebar\n");
  return -1;      // δÄÜ´´½¨
 }
 m_wndReBar.AddBar(&m_wndDlgBar, _T("BenYuan"), NULL, RBBS_NOGRIPPER);

The rebar always has 3d boders, how can I remove the borders? Thanks.




Replies:
Posted By: kstowell
Date Posted: 02 November 2003 at 3:18pm

Hello,

Make sure you do not have CBRS_BORDER_??? set for the rebar.

Cheers,
Codejock Support




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net