home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / windows / pclw10 / about.c next >
Encoding:
C/C++ Source or Header  |  1994-01-23  |  489 b   |  26 lines

  1. /* about.c */
  2.  
  3. #include "windows.h"
  4. #include "about.h"
  5.  
  6. BOOL FAR PASCAL AboutDlgProc(hDlg, message, wParam, lParam)
  7. HWND hDlg;
  8. unsigned message;
  9. WORD wParam;
  10. LONG lParam;
  11. {
  12.  switch (message)
  13.     {
  14.      case WM_INITDIALOG:
  15.          return (TRUE);
  16.  
  17.      case WM_COMMAND:
  18.          if (wParam == IDOK || wParam == IDCANCEL)
  19.            {EndDialog(hDlg, TRUE);
  20.             return (TRUE);
  21.            }
  22.          break;
  23.     }
  24.     return (FALSE);
  25. } /* end AboutDlgProc */
  26.