RE: Add support for TB_GETMETRICS and TB_SETMETRICS messages

2004-03-07 Thread Robert Shearman
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

Re: Add support for TB_GETMETRICS and TB_SETMETRICS messages

2004-03-07 Thread Dmitry Timoshkov
"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;

RE: Add support for TB_GETMETRICS and TB_SETMETRICS messages

2004-03-07 Thread Robert Shearman
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

Re: Add support for TB_GETMETRICS and TB_SETMETRICS messages

2004-03-07 Thread Dmitry Timoshkov
"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

RE: Add support for TB_GETMETRICS and TB_SETMETRICS messages

2004-03-07 Thread Robert Shearman
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