Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dialogs & Windows

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Carbon
Mac Carbon  
Author Message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Wed May 02, 2007 10:22 pm    Post subject: Dialogs & Windows Reply with quote

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
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3026
Location: Europe

PostPosted: Mon May 07, 2007 6:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3026
Location: Europe

PostPosted: Mon May 07, 2007 6:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Tue May 08, 2007 1:56 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Thu Jul 17, 2008 10:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3026
Location: Europe

PostPosted: Sat Nov 15, 2008 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Carbon All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group