RE: Win32Lib and Custom Controls
- Posted by Greg Haberek <g.haberek at comcast.net> Feb 01, 2003
- 474 views
Hey cool! For once, I actually had a decent idea.... ~Greg g.haberek at comcast.net Derek Parnell wrote: > ----- Original Message ----- > From: <g.haberek at comcast.net> > To: "EUforum" <EUforum at topica.com> > Subject: Win32Lib and Custom Controls > > > > Hi All, > > > > How hard would it be to implement custom controls into Win32Lib? From > looking at the source I > > can see it would probably break a few things, but if everything were > implemented as a 'custom' > > control then it may be easier. Would this be possible, or should I look > toward llama or > > something else? Basically I'd like to merge Don Phillips xControls with > Win32Lib to make one > > seemless package... > > > > -- begin idea example (beware of word wrap) > > -- ps: i think too much sometimes > > > > function MyControlFunc( sequence text, integer id, atom x, atom y, atom > cx, atom cy, atom style, > > atom exstyle ) > > return new_id > > end function > > > > constant MyControlID = registerNewControl( routine_id("MyControlFunc") ) > > > > constant MyControl1 = create( MyControlID, "title", 0, 10, 10, 100, 100, > 0 ) > > -- or -- > > constant MyControl2 = createEx( MyControlID, "title", 0, 10, 10, 100, > > 100, > 0, 0 ) > > > > -- end idea example > > > > ~Greg > > g.haberek at comcast.net > > > > > > TOPICA - Start your own email discussion group. FREE! > > I've experimented with a way to do this, but it is not ready yet for > public > release. > > ---------------- > cheers, > Derek Parnell > >