• 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: Preventing windows from being dragged
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Preventing windows from being dragged
      • From: Charles Srstka <email@hidden>
    • Re: Preventing windows from being dragged
      • From: Charles Srstka <email@hidden>
References: 
 >Preventing windows from being dragged (From: Mike <email@hidden>)
 >Re: Preventing windows from being dragged (From: Jason Coco <email@hidden>)
 >Re: Preventing windows from being dragged (From: Mike <email@hidden>)
 >Re: Preventing windows from being dragged (From: Jason Coco <email@hidden>)
 >Re: Preventing windows from being dragged (From: Mike <email@hidden>)

  • Prev by Date: Re: Preventing windows from being dragged
  • Next by Date: Re: Design Question: Pro & Cons of KVC/KVO
  • Previous by thread: Re: Preventing windows from being dragged
  • Next by thread: Re: Preventing windows from being dragged
  • Index(es):
    • Date
    • Thread