home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / DAYFIELD.ZIP / DAYREGST.C < prev    next >
C/C++ Source or Header  |  1989-07-28  |  1KB  |  42 lines

  1. /* ----------------------------------------------------------------------
  2. .context RegisterDayFieldClass
  3. .category Day-Field-Windows
  4. BOOL APIENTRY RegisterDayFieldClass ( HAB hab );
  5.  
  6. Description: 
  7.      This procedure is called by the application wishing to create a
  8. Day Field.  It makes a WinRegisterClass call with the proper
  9. parms for this class of window.  The application then does a
  10. WinCreateStdWindow on the class name "ANTFIELD".
  11.  
  12. Parameter     Description
  13. -------------------------------------------------------------------------
  14. hab           a 32 bit handle to the anchor block for the application.
  15.  
  16. Returns: 
  17.      The status of the WinRegisterClass call.
  18.  
  19. Comments: 
  20.  
  21. References: 
  22.  
  23. See Also: 
  24. .ref 
  25.  
  26. Development History: 
  27.   Date         Programmer          Description of modification   
  28.   05/31/1989   Paul Montgomery     Initial development           
  29. -------------------------------------------------------------------- */
  30.  
  31. #define INCL_PM
  32. #include <os2.h>
  33.  
  34. #include "day.h"
  35. #include "DayWinPr.h"
  36.  
  37. BOOL APIENTRY RegisterDayFieldClass ( HAB hab )
  38. {
  39.    return WinRegisterClass( hab, MODNAME, DayWinProc,
  40.                             0L, DATASIZE);
  41. }
  42.