On 5/29/06 12:22 PM, Mike Kluev didst favor us with:
> On Mon, 29 May 2006 09:05:51 -0700 silviu stefan <email@hidden>
> wrote:
>
>> They don't work... Maybe i'm not doing it right:
>> I call GetEventParameter in the kEventControlDraw
>> event and than i make a switch after thr part code
>> obtained and draw the parts. I've tried for a single
>> part at first but still no luck...
Have you tried just drawing the thing?
> Read those headers. This parameter is optional (in which
> case GetEventParameter returns error):
>
> * --> kEventParamControlPart (in, typeControlPartCode)
> * The control part code to draw. This parameter is optional
> * and may not be present in all instances of this event. Draw
> * the entire control if the parameter is not present.
I wouldn't expect it to be present for very many multi-part controls, and of
course you could probably draw the entire control all the time. It would
just be less efficient if you got multiple draw events with different part
codes.
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