Mac OS X Programming phần 9 pptx
... Porting Mac OS 8 /9 Code to Mac OS X IF YOU HAVE SOME MAC OS PROGRAMMING EXPERIENCE, you'll want your previous programming efforts to run on Mac OS X. Fortunately, without any modification, most ... to Mac OS X. If you want users of your previously developed efforts to experience your program as a native Mac OS X application, you need to port its cod...
Ngày tải lên: 12/08/2014, 21:20
... ensure that the user's Mac OS X desktop properly associates related documents to your program. In case you haven't already guessed, none of this book's example programs result ... "\pArial" ); TextFont( fontFamily ); TextFace( bold ); TextSize( 18 ); MoveTo( 60,35 ); DrawString( "\pInfo Window" ); } Book: Mac OS X Programming Secti...
Ngày tải lên: 12/08/2014, 21:20
... http://developer.apple.com/techpubs/macosx/Carbon/ HumanInterfaceToolbox/Aqua/aqua.html ● Menu manager routines: http://developer.apple.com/techpubs/macosx/Carbon/ HumanInterfaceToolbox/MenuManager/Menu_Manager/index.html ... http://developer.apple.com/techpubs/macosx/Carbon/ grahics/QuickDraw/quickdraw.html Book: Mac OS X Programming Section: Chapter 8. Text and Localization Locali...
Ngày tải lên: 12/08/2014, 21:20
Mac OS X Programming phần 8 pptx
... in different executable formats. In this case, a NavEventUPP can point to a routine that is in native Mac OS X executable format or in pre -Mac OS X executable format. You'll also need ... in the Finder's Show Info window. Toolbox API routines), and some are newer (they were created to handle Mac OS X tasks for which no original Macintosh Toolbox routine existed)...
Ngày tải lên: 12/08/2014, 21:20
Mac OS X Programming phần 1 pps
... Internet Explorer code into a separate block of memory. To make use of the Classic environment, Mac OS X runs Mac OS 9. 1 as if the OS itself were a process. It's as if one OS (Mac OS 9. 1) is ... application. Chapter 11, "Porting Mac OS 8 /9 Code to Mac OS X, " deals with the process of moving an existing code base from Mac OS 8 or 9 to Ma...
Ngày tải lên: 12/08/2014, 21:20
Mac OS X Programming phần 2 doc
... the event. Experienced Mac Programmer RunApplicationEventLoop is new to Carbon. It didn't exist in the preCarbon Macintosh Toolbox API. In the past, you've used WaitNextEvent within ... ); DisposeNibReference(nibRef); ShowWindow(window); RunApplicationEventLoop(); CantCreateWindow: return err; } Book: Mac OS X Programming Chapter 2. Overview of Mac OS X...
Ngày tải lên: 12/08/2014, 21:20
Mac OS X Programming phần 3 pdf
... Book: Mac OS X Programming Section: Chapter 2. Overview of Mac OS X Programming Adding a Picture to the HelloWorld Program The HelloWorld ... (http://www.lemkesoft.com). GraphicConverter itself is also an excellent example of a Mac OS X program written using Carbon. Regardless of the graphics program you use, you'll open a new document and paste the ... ) { IBNib...
Ngày tải lên: 12/08/2014, 21:20
Mac OS X Programming phần 4 pdf
... Book: Mac OS X Programming Section: Chapter 4. Windows Opening and Closing Windows You already know how to open a window in a Mac OS X nib-based program-Chapter 2, "Overview of Mac OS X Programming, " ... #define kNewWordWindowCommand 'nwrd' #define kNewNumberWindowCommand 'nnum' #define kCloseFrontWindowCommand 'cfnt' pascal OS...
Ngày tải lên: 12/08/2014, 21:20
Mac OS X Programming phần 6 pot
... the CheckboxDemo program. Example 5.2 CheckboxDemo Source Code #include <Carbon/Carbon.h> #define kDoneCommand 'Done' #define kControlSignature 'LxZZ' #define ... program's commands. I've done that here and will carry on with this system for the remainder of this book's examples. The text input field that's used to receive the user's...
Ngày tải lên: 12/08/2014, 21:20
Mac OS X Programming phần 10 potx
... mv Book: Mac OS X Programming Section: Appendix B. UNIX and the Terminal UNIX and the UNIX Shell Darwin is Apple's name for the lowest level, or foundation, of the Mac OS X. A big part ... cross-platform programming skills, and pad your resume (" ;Programming Experience By Platform: Mac OS, UNIX")! Mac OS X and UNIX As discussed in Chapter 1,"Sy...
Ngày tải lên: 12/08/2014, 21:20