Invoked immediately before opening an untitled file.
Original signature is '- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
bool ApplicationShouldOpenUntitledFile( NSApplication sender )
Function ApplicationShouldOpenUntitledFile ( _ sender As NSApplication _ ) As Boolean
bool ApplicationShouldOpenUntitledFile( NSApplication^ sender )

- sender (NSApplication)
- The application object associated with the delegate.

YES if the application should open a new untitled file or NO if it should not.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)