PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: JR Heathcote on July 17, 2008, 11:35:58 PM

Title: Resizing a Tool/Rebar
Post by: JR Heathcote on July 17, 2008, 11:35:58 PM
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
Title: Re: Resizing a Tool/Rebar
Post by: TechSupport on July 18, 2008, 08:04:59 PM
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.
Title: Re: Resizing a Tool/Rebar
Post by: JR Heathcote on July 18, 2008, 10:42:18 PM
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