Re: Preventing windows from being dragged
Re: Preventing windows from being dragged
- Subject: Re: Preventing windows from being dragged
- From: Ricky Sharp <email@hidden>
- Date: Thu, 21 Aug 2008 22:02:24 -0500
On Aug 21, 2008, at 9:46 PM, Mike wrote:
Yeah, I've read that technote and am familiar with it. It doesn't
have what I need.
And there's no setting in IB to create a window without a titlebar
(and I don't want to create one programatically).
Then you're out-of-luck.
Creating a non-movable, non-titled window is _trivial_. Just create a
tiny subclass and away you go. I do this myself, along with following
the guidelines of that technote.
Please search the archives for details on my implementation. You'll
also find notes on these key items:
(1) never ever ever capture the display when using AppKit.
(2) Your "content" window can be made a child of the "blanking" window
to enforce rule that content will always be topmost. Look into the
various child-window APIs.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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