• Welcome to PlanetSquires Forums.
 

Resizing a Tool/Rebar

Started by JR Heathcote, July 17, 2008, 11:05:58 PM

Previous topic - Next topic

JR Heathcote

Is there any way to Resize a Rebar/Toolbar in Firefly.  Tried the FF_Control_SetSize() function with no success, the rebar/toolbar occupies the entire width of the dialog box.  What I want is to reduce the width of the rebar/toolbar so I can fit a couple of combo boxes beside the rebar.

I was finally able to get the Scintilla edit control to work in Firefly, with Paul's help.  Paul is right, Scintilla is cumbersome, but it does work.

JR

TechSupport

I've attached a sample project to this email. The easiest way to add your comboboxes to the toolbar is to use SetWindowPos with %HWND_TOP and position them during the %WM_SIZE message.

Hope it works okay for you.

JR Heathcote

Paul,

Thanks, that works.

What puzzles me is why the Rebar/Toolbar occupies the entire width of the dialog box when you only have 3 or 4 toolbar buttons defined, seems this is a waste of screen real estate, or is this just Windoze?

JR