home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 11 / 11.iso / m / m248 / 4.ddi / DIB.RC_ / DIB.RC
Encoding:
Text File  |  1993-02-01  |  1.4 KB  |  63 lines

  1. /*
  2.     
  3.     DIB.RC -- Resource File for DIB.UCD
  4.     Copyright 1987-1991, Authorware, Inc.
  5.  
  6.     Revision History
  7.  
  8.         7/25/91    -    Initial version
  9.  
  10. */
  11. #include "windows.h"
  12.  
  13.  
  14. /* 
  15.     The following custom resource is the directory of functions which can be
  16.     accessed by APW.  Each function is defined in detail by its own custom
  17.     resource.
  18. */
  19.                             
  20. 1 DLL_HEADER LOADONCALL DISCARDABLE
  21. BEGIN
  22.     "DisplayDIB\0",
  23.     "EraseDIB\0",
  24.     "\0"
  25. END
  26.  
  27.  
  28. /* 
  29.     The following are the custom resources which define all attributes for
  30.     loading a specific function. Each function is listed in the directory
  31.     of funtions.
  32. */
  33.  
  34. DisplayDIB DLL_HEADER LOADONCALL DISCARDABLE
  35. BEGIN
  36.     "\0",
  37.     "L\0",
  38.     "WSIII\0",
  39.     "id := DisplayDIB(WindowHandle, \042MyFile.Dib\042, Left, Top, UsePalette)\r\n",
  40.     "\r\n",
  41.     "This function shows a DIB with its palette at point Left,Top. ",
  42.     "If UsePalette is 1, then the palette of the DIB will be used. ",
  43.     "If UsePalette is 0, then the APW palette will be used.\r\n",
  44.     "It returns:\r\n",
  45.     "    a unique id to the DIB.\r\n",
  46.     "    0 if error occurred.\0"
  47. END
  48.  
  49.  
  50. EraseDIB DLL_HEADER LOADONCALL DISCARDABLE
  51. BEGIN
  52.     "\0",
  53.     "W\0",
  54.     "WL\0",
  55.     "EraseDIB(WindowHandle, id)\r\n",
  56.     "\r\n",
  57.     "This function destroys the posted DIB identified by id.",
  58.     "id must have been previously set by a call to ShowDib or PostDib.\r\n",
  59.     "It returns:\r\n",,
  60.     "    1 if successful.\r\n",
  61.     "    0 if WindowHandle is invalid.\0"
  62. END
  63.