-----Original Message-----
From: William M. Perry <wmperry(a)aventail.com>
To: Andy Piper <andy(a)xemacs.org>
Cc: xemacs-beta(a)xemacs.org <xemacs-beta(a)xemacs.org>
Date: Wednesday, May 31, 2000 5:35 PM
Subject: Better toolbar button descriptions (was Re: question about the new
widget/glyph code...)
Andy Piper <andy(a)xemacs.org> writes:
> At 09:22 PM 5/29/00 -0500, William M. Perry wrote:
> >so, since the widgets are glyphs, and glyphs go in toolbars, would I be
> >able to put a text-entry or combo-box into the toolbar now?
>
> Theory says yes. Reality says no because for windows at least its down to
> the supported button types. It might work under X though. This is the
> problem with working with native widgets - lowest common denominator and
> all that.
>
> The combo-box style is a specific toolbar style I think, we would have to
> fix up the code to cope. MIght not be too hard though ...
Oh, windows doesn't let you stick arbitrary widgets into the toolbar? Hrm.
Actually, I believe it does. At least, I've stuck arbitrary controls into a
native Win32 toolbar in Delphi programs, but I haven't dug into the Delphi
source to see how it achieves it. Delphi wraps the Win32 Common Controls,
so you can just plop controls onto the toolbar at designtime.
From the look of it, it just creates the arbitrary control using the
toolbar
as the control's parent window. Out of curiosity, I'll dig into
it.
-Jim