Detecting changes in Windows and Controls
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.
----------------------------------------------