[Prev][Next][Index][Thread]
Re: Custom gadgets in a frame
andrewa@functionalobjects.com (Andy Armstrong) wrote in
<JPLCPLKHFGBBBAAA@mailcity.com>:
>
>1. Use the module win32-duim, and subclass <win32-list-box>.
>
> This subclasses the concrete Win32 representation of <list-box>,
> but obviously limits your code to only working on Windows.
Unfortunately the various <win32-*> gadget classes aren't exported from win32-
duim and the methods on them are sealed. It would be nice if they were exported
and/or open - for those times when you want to subclass a windows control (I'm
talking about Win32 subclassing of window controls, not OO subclassing) and use
it from DUIM with the same basic implementation as a standard windows control
but only the window creation routines overridden. This doesn't happen a lot in
practice though.
>
>2. Use 'define pane' to wrap the list box.
This is the approach I've used for this type of thing - from your
recommendation to me on comp.lang.dylan a while ago:
http://www.deja.com/article/466988275
I've found in practice that it works fine.
Chris.
--
http://www.double.co.nz/dylan
Follow-Ups:
References: