Jump to content

resize rebar to toolbar height, how?


Recommended Posts

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...