Dmitry Timoshkov wrote:
> > > What another field should be used for c[x|y]ButtonSpacing instead?
> >
> > It looks like it. It shouldn't be too hard to add support for
> it. You will
> > just need to change TOOLBAR_CalcToolbar to add on the extra
> spacing between
> > the buttons.
>
> I take it that
"Robert Shearman" <[EMAIL PROTECTED]> wrote:
> > A comment for szPadding in Wine says: /* padding values around button */.
> >
> > Looks like toolbar.c has plenty of similar (and possibly
> > redundant) things:
> >
> > INT nHeight;/* height of the toolbar */
> > INT nWidth;
Dmitry Timoshkov wrote:
>
> "Robert Shearman" <[EMAIL PROTECTED]> wrote:
>
> > > +if (lpMetrics->dwMask & TBMF_BUTTONSPACING)
> > > +{
> > > + lpMetrics->cxButtonSpacing = infoPtr->szPadding.cx;
> > > + lpMetrics->cyButtonSpacing = infoPtr->szPadding.cy;
> >
> > I don't think this is quite
"Robert Shearman" <[EMAIL PROTECTED]> wrote:
> > +if (lpMetrics->dwMask & TBMF_BUTTONSPACING)
> > +{
> > + lpMetrics->cxButtonSpacing = infoPtr->szPadding.cx;
> > + lpMetrics->cyButtonSpacing = infoPtr->szPadding.cy;
>
> I don't think this is quite right. MSDN says that cxButtonSpacing is
Dmitry Timoshkov wrote:
>
> Hello,
>
> Changelog:
> Dmitry Timoshkov <[EMAIL PROTECTED]>
> Add support for TB_GETMETRICS and TB_SETMETRICS messages.
>
> diff -u cvs/hq/wine/dlls/comctl32/toolbar.c wine/dlls/comctl32/toolbar.c
> --- cvs/hq/wine/dlls/comctl3