home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / win_lrn / hooks / journal / apppaint.c < prev    next >
Encoding:
C/C++ Source or Header  |  1987-07-22  |  483 b   |  27 lines

  1. #include "windows.h"
  2. #include "APP.h"
  3.  
  4. extern char szMessage[];
  5. extern int MessageLength;
  6.  
  7. void APPPaint( HWND, WORD, LONG );
  8.  
  9.  
  10. void APPPaint(  hWnd, wParam, lParam )
  11. HWND hWnd;
  12. WORD wParam;
  13. LONG lParam;
  14. {
  15.     PAINTSTRUCT ps;
  16.     RECT rRect;
  17.  
  18.     BeginPaint( hWnd, (LPPAINTSTRUCT)&ps );
  19. /*
  20.     GetClientRect( hWnd, (LPRECT)&rRect );
  21.     ScrollWindow( hWnd, 0, -rRect.bottom, (LPRECT)NULL, (LPRECT)NULL);
  22. */
  23.     EndPaint( hWnd, (LPPAINTSTRUCT)&ps );
  24. }
  25. /*
  26. */
  27.