🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by Chris Jackson IME Mon, 21 Dec 1992 12:39
How to make a window the key window
#1914
Author: Chris Jackson IME
Date: Mon, 21 Dec 1992 12:39
21 lines
1132 bytes
How do I make a window the key and/or the main window ?

I have tried with a very simple application that
has a single window.  When the application is invoked,
its window does not come to the front of the stack and
become the key window.

I have tried subclassing Object to produce, say, AppController.
I have made an instance of this the delegate of Application.
When this instance receives the 'appDidInit:' message,
I have tried sending the window a 'makeKeyAndOrderFront:'
message :

	[ [NXApp mainWindow] makeKeyAndOrderFront: self ]

    but this has no effect.

Can anyone help, please ?

Chris.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads