home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / S12317.ZIP / APPPAINT.C < prev    next >
C/C++ Source or Header  |  1988-08-01  |  474b  |  30 lines

  1. #define INCL_WIN
  2. #define INCL_GPI
  3.  
  4. #include <os2.h>
  5. #include <stddef.h>
  6. #include "APP.h"
  7.  
  8. extern char     szAppName[];
  9.  
  10. VOID FAR PASCAL APPPaint( hWnd, message, mp1, mp2 )
  11. HWND   hWnd;
  12. USHORT message;
  13. MPARAM  mp1;
  14. MPARAM  mp2;
  15. {
  16.     HPS         hPS;
  17.     RECTL    rc, rcClip;
  18.  
  19.     hPS = WinBeginPaint( hWnd, NULL, &rcClip );
  20.  
  21.     WinQueryWindowRect( hWnd, &rc );
  22.     WinFillRect( hPS, &rc, CLR_WHITE );
  23.  
  24.     WinEndPaint( hPS );
  25.  
  26.     return;
  27. }
  28. /*
  29. */
  30.