Resize box not letting clicks through
Resize box not letting clicks through
- Subject: Resize box not letting clicks through
- From: Trygve Inda <email@hidden>
- Date: Sat, 16 Feb 2008 11:46:37 +0000
- Thread-topic: Resize box not letting clicks through
I have a window that is resizeable, but in a certain mode needs to be not
resizeable. When making it not resizeable. I am able to hide the resize
control lines in the lower right. I also set the max size so that the window
can't be resized by the user.
The issue is the area where the resize control used to be shown is not
letting clicks pass through to a button as clicks in the lower right half of
the button (where the resize lines were) are not getting through.
Apple's docs say:
An NSWindow object's style is set when the object is initialized. Once set,
it can't be changed.
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?
Thanks,
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