I have a need to find a way for my application to find out when new windows are opened within it. The specific case I'm currently looking at is when the print dialog is opened and the user chooses "Save as PDF...". This action will open a file save dialog and I need to know when this happens. I don't see any events that can notify me that this window has opened. Of course what I really want to know is when a window is supposed to become visible.

OK, I won't leave you wondering...
I'm working on a kiosk application and my main window is far above the print dialogs so they don't display. If I can know when they are to display I can grab them and pull them forward. Currently when my main window delegate received a windowDidResignMain: message I go look for "lost" windows and pul them forward. This gets me the print dialog but since I am no longer active any secondary dialogs get left behind my main window. Thus locking up the machine (time to reboot).

I'm using the method outlined in this link to make my application very- front-most...
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaDrawingGuide/AdvancedDrawing/chapter_9_section_4.html

Paul FitzGerald
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to