• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Resize box not letting clicks through
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Resize box not letting clicks through (From: email@hidden)

  • Prev by Date: Re: [Foo new] vs [[Foo alloc] init]:
  • Next by Date: Re: File processing with Obj-C & Cocoa
  • Previous by thread: Re: Resize box not letting clicks through
  • Next by thread: acceptable method for finding path to /usr/bin
  • Index(es):
    • Date
    • Thread