I'm currently trying your idea. But i still have a
problem...
How should i draw in kEventControlDraw event, the
indicator part and the track? I assume they must be
drawnn separatly. Are there any special codes for
these parts?
--- Laurence Harris <email@hidden> wrote:
> On 5/29/06 7:49 AM, silviu stefan didst favor us
> with:
>
> > Hi!
> >
> > I'm trying to make a custom slider using HIViews
> > technologies. My custom slider should act as a
> normal
> > slider, only the way it looks should be different
> > (i'll have to use some bitmaps when drawing it).
> >
> > Will i have to implement all the events (like
> > tracking...) or it's possible to subclass the
> slider
> > class (using HIObjectRegisterSubclass and pass as
> > parameter the slider class instead of HIView) and
> save
> > some functionallity ?
>
> Why not just use a regular slider and install a
> kEventControlDraw handler on
> it so you can draw it but let the system handle
> everything else?
>
> Larry
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden