Which custom events did you set it up to handle? From what I just checked, you should be setting it up to listen for at least {kEventClassWindow,kEventWindowClickCollapseRgn} in order to do what it sounds like you want it to do.
>I tried to install a custom events handler on my resource window (non-
>composite), it ignores it for some reason. May be I should create a
>document window by myself?
>On Jul 1, 2008, at 8:29 PM, Gary L. Wade wrote:
>
>> I don't think you can use WaitNextEvent to get click events on the
>> collapse box; check CarbonEvents.h for the way to do this with
>> CarbonEvents, which work fine even if you are also using
>> WaitNextEvent. If your window is a compositing window, you'll have
>> to handle it differently, but the comments in the header should tell
>> you what to do.
>>
>>> Hi,
>>>
>>> I'm creating my window from resource, old application and probably
>>> it uses a
>>> standard event handler for handling window-related events. My
>>> application is
>>> WNE-based for various reasons. While I can catch most of clicks
>>> inside all
>>> kinds of window parts, like inGoAway, inGrow and so on, when I
>>> click on
>>> collapse control, wne seems ignores this click and passes it to a
>>> standard
>>> window handler. How can I catch the click inCollapseBox?
>>>
>>>
>>> Thanks in advance,
>>>
>>>
>>> Nava
>> _______________________________________________
>> 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
>
_______________________________________________
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