Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom slider



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

References: 
 >custom slider (From: silviu stefan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.