Before I start into GDI, is there a quick way to get this thin line sunken edge around the rebar control in this picture?

I have the line at the top as part of the border of the menu, but I can't figure out how to box in the entire rebar with that edge look.
Maybe there is a rebar style constant that I am not aware of.

Any ideas?
Posted on 2002-04-03 12:01:55 by rdaneel
If I remember correctly the style you need is RBS_BANDBORDERS, but I'm not sure, check it.
Posted on 2002-04-03 12:15:52 by LuHa
You might want to try creating the rebar with the CCS_NOPARENTALIGN style. Without it you lose the left and right edges of the rebar.

Happy rebaring!
James Emmrich
Posted on 2002-04-03 12:45:11 by JamesE
Perfect. Thanks guys. Adding WS_BORDER and CCS_NOPARENTALIGN on the rebar and CCS_NODIVIDER on the toolbar did the trick.
Posted on 2002-04-03 12:50:38 by rdaneel