Mac Carbon |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed May 02, 2007 10:22 pm Post subject: Dialogs & Windows |
|
|
ADC: StandardAlert - Dialog Manager Reference
Code: | OSErr StandardAlert (
AlertType inAlertType,
ConstStr255Param inError,
ConstStr255Param inExplanation,
const
AlertStdAlertParamRec *inAlertParam,
SInt16 *outItemHit
);
// alert types:
enum {
kAlertStopAlert = 0,
kAlertNoteAlert = 1,
kAlertCautionAlert = 2,
kAlertPlainAlert = 3
}; |
Last edited by delovski on Thu Jul 17, 2008 10:00 pm; edited 1 time in total |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Mon May 07, 2007 6:21 pm Post subject: |
|
|
MacTech: Using Navigation Services, by Keith Mortensen
"Meet Navigation Services, a new set of tools for document management. It
hosts a suite of "utility dialogs" for opening and saving documents, choosing
volumes, choosing and creating folders. More additional standard alerts are
also provided to free you from having to design your own."
Or: X Files Carbonara - Making Navigation Easier for the Impatient,
by Richard Patterson
"What I wanted was one function that took care of all the user interaction
and just gave me a ready-to-wear FSSpec. It would need to know what
kind of file I am trying to create, so there are three things I need to give
it: the file type, the file creator and a pointer to the FSSpec." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Mon May 07, 2007 6:46 pm Post subject: |
|
|
K. J. Bricknell: Chapter 18 - Files & Navigation Services
"This chapter addresses: Creating, opening, reading from, writing to, and
closing files. Navigation Services, an application programming interface that
allows your application to provide a user interface for navigating, opening,
and saving Mac OS file objects." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue May 08, 2007 1:56 am Post subject: |
|
|
Filtering based on file extension using Nav Services
"I would like to display only files with a ".DXF" extension in my file
dialog box. I have this working with the old StandardFile dialog using a
filterProc, but I cannot for the life of me find any documentation on
how to do this in Navigation Services" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Jul 17, 2008 10:05 pm Post subject: |
|
|
reddit - Why Apple didn't use X for the window system
"What Apple is providing is an Apple-original window system that is graphics
model agnostic, as well as a vector drawing system that maps very well to
PDF, which is a sort of PostScript without the non-graphical operators. This
is packaged under the name 'Quartz' for easy reference by Marketing types." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Sat Nov 15, 2008 7:51 pm Post subject: |
|
|
adc - Filtering the Types of Files That Users Can Open
"Uniform type identifiers (or UTIs) are strings that uniquely identify abstract
types. They can be used to describe a file format or data type, but can also
be used to describe type information for other sorts of entities, such as direc-
tories, volumes, or packages. The syntax of a uniform type identifier is similar
to a bundle identifier. A UTI has the form of a reversed DNS name, although
some special top-level UTI domains are reserved by Apple and are outside
the current IANA top-level Internet domain name space." |
|
Back to top |
|
|
|