# Macintosh Programming Techniques, Second Edition — source transcripts, page 2

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-macintosh-programming-techniques-1996-a8256e/2)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### PDF page 12

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-programming-techniques-1996-a8256e/2#scan-23e9b00f94264e9d6baa3bec607f273c28caa8cd8e9844e78948c778e87d335d)

Transcribed text:

xii   Macintosh   Programming   Techniques.   ZE
Stepping through the Code .............................293
Chapter Summary ......................................   .305
Chapter   6:   More   About   Windows   . . . . . . . .   .307
About Menus ........................................... 307
Menu Resources ......................................... 308
The MENU Resource   ................................. .309
The MBAR Resource ...................................311
Menu Source Code ......................................313
Setting up the Menu Bar ................................313
Handling a Click in a Menu .............................316
Handling a Click in the Apple Menu   ....................   .320
Handling a Click in Other Menus ........................321
Keyboard Equivalents ....................................321
The MENU Resource   ..................................323
Handling a Keystroke ..................................324
Hierarchical Menus ..................................... .325
The MENU Resource   ................................. .326
Setting up the Hierarchical Menu ........................328
Changing Menu Characteristics ........................... .332
Disabling and Enabling Menus and Menu Items ............332
Adding a Check Mark to a Menu Item ....................336
Changing the Text of a Menu Item ....................... 340
Changing the Style of a Menu Item .......................342
Editing Text in a Modal Dialog Box .........................344
Modal Dialog Box Filter Function ........................346
Chapter   Program:   MenuMaster ........................... .352
Program   Resources: MenuMaster.rsrc .....................356
Program   listing: MenuMaster.c ..........................361
Stepping through the Code .............................371

Languages: English

[Original PDF page 12](https://www.vintageapple.net/files/af6bd1f51d308c6b5639cf51bb1c2fdc5247b06c56904dde0691a68d091ee3b9/Macintosh_Programming_Techniques_1996.pdf#page=12)

[Previous transcribed scans](https://www.vintageapple.net/transcripts/media/va-macintosh-programming-techniques-1996-a8256e/1.md)
