home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / comctl / reitp / reitp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-10-02  |  857 b   |  36 lines

  1. /* =========================================================================
  2.  
  3. File: Reitp.h
  4. Function: Header file for Reitp.c. Exports the DoOpen() and PrintREDoc()
  5.     functions so the Mac version can support the required OpenDoc and Print
  6.     Apple Events.
  7.  
  8. ============================================================================ */
  9.  
  10. typedef struct _redoc
  11. {
  12.     HWND hwndRE;
  13.     HWND hwndParent;
  14.     DWORD dwFormat;
  15.     BOOL fReadOnly;
  16.     BOOL fWysiwyg;
  17.     BOOL fWrap;
  18.     BOOL fUpdateEditMenu;
  19.     WPARAM scf;
  20.     HMENU hmenuVerbs;
  21.     LPRICHEDITOLE preole;
  22.     struct _itpcall * pitpcall;
  23.     LPSTORAGE pstg;
  24.     ULONG cItem;
  25.     PRINTDLG pd;
  26.     HDC hdcTarget;
  27.     HWND hwndFormatBar;
  28.     FINDREPLACE *pfr;
  29.     TCHAR szFile[256];
  30.     TCHAR szTitle[32];
  31. } REDOC;
  32.  
  33.  
  34. LRESULT DoOpen(REDOC *predoc, LPSTR  szFile, LPSTR  szTitle, BOOL  fInsert);
  35.  
  36. VOID PrintREDoc(REDOC *predoc);