Re: Win32Lib and Custom Controls

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- 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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu