home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / progwin / chap10 / poppadp0.c < prev   
Encoding:
C/C++ Source or Header  |  1990-11-12  |  753 b   |  26 lines

  1. /*---------------------------------------------------------
  2.    POPPADP0.C -- Popup Notepad Printing -- dummy functions
  3.   ---------------------------------------------------------*/
  4.  
  5. #include <windows.h>
  6.  
  7. extern char szAppName [] ;              // in POPPAD.C
  8.  
  9. BOOL FAR PASCAL PrintDlgProc (HWND hDlg, WORD message,
  10.                               WORD wParam, LONG lParam)
  11.      {
  12.      return FALSE ;
  13.      }
  14.  
  15. BOOL FAR PASCAL AbortProc (HDC hPrinterDC, short nCode)
  16.      {
  17.      return FALSE ;
  18.      }
  19.  
  20. BOOL PrintFile (HANDLE hInstance, HWND hwnd, HWND hwndEdit, char *szFileName)
  21.      {
  22.      MessageBox (hwnd, "Printing not yet implemented", szAppName,
  23.                        MB_OK | MB_ICONEXCLAMATION) ;
  24.      return FALSE ;
  25.      }
  26.