home *** CD-ROM | disk | FTP | other *** search
- /*
- main.h
-
- Getting Desktop and Utilities Pattern snippet
- Albert Hui -- MacDTS
-
- This snippet how you can access the "Desktop Pattern" and
- the "Set Utilities Pattern" pattern.(This pattern is set by holding down \
- the option key in the Desktop Patterns Control Panel.)
-
- This control panel uses resources of type 'ppat' to store
- this pattern. The `ppat' resource is stored in the System file
- in your System Folder; the desktop pattern has an ID of 16 and
- the utilities pattern has an ID of 42. Since this is not
- documented, it could be subject to change at any moment.
- You should be careful when using this.
-
- This sample is built with CW 9.
-
- */
- #include <AppleEvents.h>
- #include <Dialogs.h>
- #include <Events.h>
- #include <Files.h>
- #include <Fonts.h>
- #include <GestaltEqu.h>
- #include <Memory.h>
- #include <Menus.h>
- #include <OSUtils.h>
- #include <Palettes.h>
- #include <QDOffscreen.h>
- #include <QuickDraw.h>
- #include <Sound.h>
- #include <StandardFile.h>
- #include <Traps.h>
- #include <Windows.h>
- #include <ToolUtils.h>
-
-
-