Mailing Lists: Apple Mailing Lists

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

How to read messages from the Dock?



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.

--
Dr. Robert Delius Royar                   Associate Professor of English
Morehead State University                             Morehead, Kentucky

_______________________________________________
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


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.