home *** CD-ROM | disk | FTP | other *** search
- /*
- PALETTE.RC -- Resource File for PALETTE.UCD
- Copyright 1987-1992, Macromedia, Inc.
-
- Revision History
-
- 7/25/91 - Initial version
- 11/29/92 - updated descriptions
-
- */
- #include "windows.h"
-
-
- /*
- The following custom resource is the directory of functions which can be
- accessed by APW. Each function is defined in detail by its own custom
- resource.
- */
-
- 1 DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "SetPalette\0",
- "ResetPalette\0",
- "\0"
- END
-
-
- /*
- The following are the custom resources which define all attributes for
- loading a specific function. Each function is listed in the directory
- of funtions.
- */
-
- SetPalette DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "I\0",
- "WS\0",
- "errcode := SetPalette(WindowHandle, ""palfile"")\r\n",
- "\r\n",
- "This function sets the Authorware palette from a palette file. ",
- "The file must be a RIFF palette file, a DIB or a BMP file.\r\n",
- "\r\n",
- "It returns:\r\n"
- " 0 if the palette was loaded\r\n"
- " 1 if the window handle was incorrect\r\n"
- " 2 if insufficient memory to load the palette\r\n"
- " 3 if the file was not found\r\n"
- " 4 if the file was not a supported type\0"
- END
-
-
- ResetPalette DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "I\0",
- "W\0",
- "errcode := ResetPalette(WindowHandle)\r\n"
- "\r\n"
- "This function resets the Authorware palette to its default setting."
- "\r\n"
- "It returns:\r\n"
- " 0 if the palette was reset\r\n"
- " 1 if the window handle was incorrect\0"
- END
-