home *** CD-ROM | disk | FTP | other *** search
- /*
-
- DIB.RC -- Resource File for DIB.UCD
- Copyright 1987-1991, Authorware, Inc.
-
- Revision History
-
- 7/25/91 - Initial version
-
- */
- #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
- "DisplayDIB\0",
- "EraseDIB\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.
- */
-
- DisplayDIB DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "L\0",
- "WSIII\0",
- "id := DisplayDIB(WindowHandle, \042MyFile.Dib\042, Left, Top, UsePalette)\r\n",
- "\r\n",
- "This function shows a DIB with its palette at point Left,Top. ",
- "If UsePalette is 1, then the palette of the DIB will be used. ",
- "If UsePalette is 0, then the APW palette will be used.\r\n",
- "It returns:\r\n",
- " a unique id to the DIB.\r\n",
- " 0 if error occurred.\0"
- END
-
-
- EraseDIB DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "W\0",
- "WL\0",
- "EraseDIB(WindowHandle, id)\r\n",
- "\r\n",
- "This function destroys the posted DIB identified by id.",
- "id must have been previously set by a call to ShowDib or PostDib.\r\n",
- "It returns:\r\n",,
- " 1 if successful.\r\n",
- " 0 if WindowHandle is invalid.\0"
- END
-