home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / wint1_92 / shaw / stdwin.cpp < prev    next >
C/C++ Source or Header  |  1991-11-04  |  566b  |  29 lines

  1. // stdwin.cpp
  2.  
  3. #include<windows.h>
  4. #include"stdwin.h"
  5.  
  6. // About Box manager function
  7. BOOL FAR PASCAL WinAppStdWindow::AboutDlg(HWND hDlg, unsigned message, 
  8.     WORD wParam, LONG lParam)
  9.     {
  10.     lParam = lParam;
  11.     switch(message)
  12.         {
  13.         case WM_INITDIALOG:
  14.             return (TRUE);
  15.  
  16.         case WM_COMMAND:
  17.             if (wParam == IDOK || wParam == IDCANCEL)
  18.                 {
  19.                 EndDialog(hDlg, TRUE);
  20.                 return (TRUE);
  21.                 }
  22.             break;
  23.         }
  24.     return FALSE;
  25.     }
  26.  
  27.  
  28.  
  29.