Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to read messages from the Dock?



On Thu, 4 Nov 2004, robert delius royar wrote:
> Where would I look for documentation that describes how a running process
> receives notice that its icon has been selected in the Dock?  The process is a
> ported commandline application running in an Xterm.  I have it able to launch
> fine from the dock and an explicit call to SetFrontProcess(&PSN) at startup
> makes it take input without an extra mouse click, but it does not respond
> properly to clicks on its Dock icon to bring it forward or give it focus after
> it has been launched.  I know what calls I need, I just don't know how to know
> when they are needed.

I don't know if any of this is really relevant to an Xterm, but when a
currently running app is selected from the dock, it receives a 'rapp'
Apple Event.

-- 
top-posting: It's just a bad idea.  Please don't respond to a message and
change the subject to start a new topic -- it messes up threaded email viewing.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden

References: 
 >How to read messages from the Dock? (From: robert delius royar <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.