Using Xcode 3.1.3 (or 2.5), I created a standard Carbon application with a 
single document window. After running the application, I use the Display System 
Preferences to move the menubar from one display to another one. The document 
window for the Carbon application followed the menubar and moved to the other 
display.

Doing the same thing, but this time with the default Cocoa application, the 
document window does not automatically move.

Is there a way to configure a Cocoa window so it will follow the menubar to 
another display?

I'm assuming there isn't as I have not seen such an option...unless I missed 
something.

I assume the appropriate way to handle this in Cocoa is to respond to 
NSApplication's -applicationDidChangeScreenParameters: delegate method and move 
the window myself.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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