2nd fullscreen window and keyboard input
2nd fullscreen window and keyboard input
- Subject: 2nd fullscreen window and keyboard input
- From: ChrisB <email@hidden>
- Date: Fri, 2 Jun 2006 08:55:04 -0700
I used the "How to Make a Full Screen App" example at http://
cocoadevcentral.com/articles/000028.php to facilitate the fullscreen
layout of my application. I did subclass NSWindow as suggested in the
example to get keyboard input working. No problem.
I now have the need to temporarily bring up a second full screen
window over the first one. I need to get keyboard input to work on
this second window to allow the user to enter data in the WebView it
displays. I had no trouble using the same example code to bring up
this second window over the first . I used makeKeyAndOrderFront on
both the new NSWindow, and the IBOutlet to the panel in the nib just
like I did with the first main window. I also tried orderBack on the
mainWindow, but keyboard input seems to only be going to the main
window behind my overlay window. I can't seem to get it figured out.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden