🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
2 messages
2 total messages Started by Jean Laroche Wed, 18 Nov 1992 17:17
NXOpen, where?
#1807
Author: Jean Laroche
Date: Wed, 18 Nov 1992 17:17
12 lines
793 bytes
Hi!
Does anyone know where the global variable NXOpen is defined?

I'm trying to make my application launch and open documents by double-clicking  
them. The documentation says the workspace makes the name of the document  
accessible to the app via the public variable NXOpen, when automatically  
lauching the application.
The problem is, where the hell is NXOpen defined. It's nowhere in the include  
files which means my app cannot compile when I use it.

Any pointer would be precious!
Jean Laroche
Re: NXOpen, where?
#1874
Author: Robert_La_Ferla
Date: Fri, 20 Nov 1992 19:58
14 lines
1006 bytes
> From: laroche@wayne.enst.fr (Jean Laroche )
>
> Does anyone know where the global variable NXOpen is defined?
> I'm trying to make my application launch and open documents by
> double-clicking them.
 
NXOpen is in the defaults database.  I don't think you should be using it  
though in an application that uses the AppKit.  You should be using  
openFile:ok which is a message that your application receives when a user  
double-clicks on your document.  Note: The full path of the document is  
given in that message.

Robert La Ferla
Hot Technologies
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