Re: Resize box not letting clicks through
Re: Resize box not letting clicks through
- Subject: Re: Resize box not letting clicks through
- From: Trygve Inda <email@hidden>
- Date: Sat, 16 Feb 2008 14:14:48 +0000
- Thread-topic: Resize box not letting clicks through
> You could try something like this:
>
> - (NSSize)windowWillResize:(NSWindow *)window toSize:(NSSize)proposedFrameSize
> {
> if ( certainMode ) {
> // assume click, perform selector
> return [window frame].size;
> }
>
> return proposedFrameSize;
> }
>
>> So I can't actually make the window not resizeable to let clicks pass
>> through this area. Is there a way to capture these clicks, and let the
>> through to my button?
>>
That is close, but I need to track a button click when there is a click in
the resize area.
Trygve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden