Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 438
  • Last Modified:

How to control CRebar band width?

In my project, 4 same dialog box are placed inside a CRebar control. The display is like below
|    1      |      2     |      3    |              4                 |.

I do not want the last dialogbox stretches & occupies all the unused space of CRebar control.
|     1     |      2     |       3    |        4      |       empty         |

Could anyone help?
  • 3
2 Solutions
How about if you set property RBBS_FIXEDSIZE to the Rebar?
exsylhsAuthor Commented:
I tried, but it does not work. Anythg else I could try?
exsylhsAuthor Commented:
Hi Moderator,

Do you mean I shall paste up my sample code? Besides this, I do not think I got extra info I can fill up because I think my question spells out my problem clearly. I even drew out the output that I wish to have.

exsylhsAuthor Commented:
Hi all,

I have found a solution to solve this question.
Instead of using multiple band within one CRebar control, I change to use Multiple CRebar Control with only one band. And the output display is what I have expected.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now