Jump to content
Sign in to follow this  
TheCurrent

resize rebar to toolbar height, how?

Recommended Posts

TheCurrent

I made a toolbar which has 32x32 bit icons, so the toolbar height should be about 36-40pix or there about.

Now when i add the toolbar to reebar, the rebar does not auto resize to toolbar height

; create the rebar control
$hReBar = _GUICtrlReBar_Create($frmMain, BitOR($CCS_TOP, $WS_BORDER, $RBS_VARHEIGHT, $RBS_AUTOSIZE, $RBS_BANDBORDERS))
$tlbMain = _GUICtrlToolbar_Create($frmMain, BitOR($TBSTYLE_FLAT,$TBSTYLE_TRANSPARENT,$WS_TABSTOP,$WS_VISIBLE,$WS_CHILD,$WS_CLIPSIBLINGS))

how do i solve this problem?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.