Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to remove the border of CTXReBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to remove the border of CTXReBar

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


Joined: 08 August 2003
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote owen Quote  Post ReplyReply Direct Link To This Post Topic: How to remove the border of CTXReBar
    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.

Back to Top
kstowell View Drop Down
Admin Group
Admin Group


Joined: 25 January 2003
Location: MIchigan, USA
Status: Offline
Points: 496
Post Options Post Options   Thanks (0) Thanks(0)   Quote kstowell Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2003 at 3:18pm

Hello,

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

Cheers,
Codejock Support

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.172 seconds.