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?

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?
If I remember correctly the style you need is RBS_BANDBORDERS, but I'm not sure, check it.
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
Happy rebaring!
James Emmrich
Perfect. Thanks guys. Adding WS_BORDER and CCS_NOPARENTALIGN on the rebar and CCS_NODIVIDER on the toolbar did the trick.