• 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
rolling my own drawer-like child window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rolling my own drawer-like child window


  • Subject: rolling my own drawer-like child window
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 09 Oct 2008 10:17:23 -0700
  • Thread-topic: rolling my own drawer-like child window

I want to make a drawer that the user cannot close or slide. Since you can't
stop the user from sliding the drawer at least partially closed, I was
advised to use a child window instead. The problem is that I want the child
window to *act* like a drawer, and in particular it should be capable of
becoming key (so that a table in the pseudo-drawer can respond to
keypresses) but the main window should not lose its appearance (i.e. its
title bar should not change). How do I do this?

I have already implemented the advice here:

http://www.cocoabuilder.com/archive/message/cocoa/2005/8/17/144442

This prevents the main window from losing its appearance, but the table in
the pseudo-drawer is not receiving keypresses. m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, http://tinyurl.com/2ouo3b
Take Control of Customizing Leopard, http://tinyurl.com/2t9629
TidBITS, Mac news and reviews since 1990, http://www.tidbits.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: rolling my own drawer-like child window
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: "Drawing" CATextLayer into a CGImageRef?
  • Next by Date: Re: QTMovie problem, thread-safety issue?
  • Previous by thread: Re: "Drawing" CATextLayer into a CGImageRef?
  • Next by thread: Re: rolling my own drawer-like child window
  • Index(es):
    • Date
    • Thread