• 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
Detecting changes in Windows and Controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting changes in Windows and Controls


  • Subject: Detecting changes in Windows and Controls
  • From: John Lombardo <email@hidden>
  • Date: Wed, 16 Jan 2002 22:31:37 +0800

Could someone please explain who to make a program automatically respond to
users' actions, such as window resizing and text input?

The first of my problems involves setting the number of visible columns in a
NSBrowser depending on the size of the window containing it. What I'm after
is a means by which a method or selector can be called by the window
resizing. Similarly, I'd like to be able to make the program respond
interactively with the input of text into a NSComboBox, rather than waiting
for the user to press return or switch focus.

Oh, speaking of switching focus, how can I make the NSBrowser obtain focus
programmatically?

Answers to any or all of these issues would be greatly appreciated.

Cheers,
Bard

Note: this message might arrive twice, 'cause I've just sent it off with the
wrong reply-to address. If it does, we'll just have to deal with it and get
on with our lives.

--

==============================================
Link me, Embed me, Treat me like an Object.
----------------------------------------------


  • Follow-Ups:
    • Re: Detecting changes in Windows and Controls
      • From: Stefan Jung <email@hidden>
    • Re: Detecting changes in Windows and Controls
      • From: Charles Srstka <email@hidden>
  • Prev by Date: How to deal with long pathnames in Cocoa ?
  • Next by Date: Re: NSView
  • Previous by thread: Re: How to deal with long pathnames in Cocoa ?
  • Next by thread: Re: Detecting changes in Windows and Controls
  • Index(es):
    • Date
    • Thread