FROM : ChrisB
DATE : Fri Jun 02 17:55:04 2006
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.
DATE : Fri Jun 02 17:55:04 2006
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.
| Related mails | Author | Date |
|---|---|---|
| ChrisB | Jun 2, 17:55 | |
| Lon Giese | Jun 2, 20:25 | |
| Ricky Sharp | Jun 3, 05:48 | |
| ChrisB | Jun 3, 16:51 |






Cocoa mail archive

