Bring NSRunAlertPanel Dialogue to Front in Background Process
Posted
by mon4goos
on Stack Overflow
See other posts from Stack Overflow
or by mon4goos
Published on 2010-05-05T18:34:29Z
Indexed on
2010/05/05
19:28 UTC
Read the original article
Hit count: 291
If you call
NSRunAlertPanel()
from a background process in Cocoa, the dialogue does not come to the front and instead stays behind other windows. This post shows that you can bring the dialogue to the front if you convert the process to a foreground process. If you keep the process a background process, however, is there any way to achieve this behavior?
© Stack Overflow or respective owner