home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / mapi / simple.frm / readme.txt < prev    next >
Text File  |  1996-01-15  |  2KB  |  55 lines

  1. MAPI Sample Simple Form
  2.  
  3.  
  4. The Simple.Frm sample application illustrates writing a form in C++. The form
  5. can be used by form-aware mail clients for sending/receiving messages of
  6. IPM.Note.Sample.Simple message class instead of standard send/read forms.
  7.  
  8. Installation
  9. ------------
  10.  
  11. The form has to be properly registered to be used by mail clients. Run
  12. pdkin32 -f smpfrm.cfg to register the form in the local form registry. Then
  13. run regedit smpfrm.reg to register smpfrm.exe as an OLE server for the form in
  14. the registry. The path to the form .EXE file has to be put in smpfrm.reg or
  15. into the PATH.
  16.  
  17. Implementation
  18. --------------
  19.  
  20. The forms class CBaseForm supports the IMAPIForm, IPersistMessage, and
  21. IMAPIFormAdviseSink interfaces. Class CClassFactory implements IClassFactory.
  22. The form also implements two helper classes: CLastError and CViewNotifier to
  23. handle last error information and event notifications.
  24.  
  25. If you would like to use the sample as a base for your own form, you'll need
  26. to change:
  27.  
  28.  - File names.
  29.  - Form message class and class ID (in guid.h, smpfrm.reg, smpfrm.cfg).
  30.  - The Verbs and Extension sections and all the human readable information
  31.    in smpfrm.cfg.
  32.  - The UI and supporting functions.
  33.  - Implementation of all of the IPersistMessage methods, IMAPIForm::Doverb.
  34.  
  35. Supported Features
  36. ------------------
  37.  
  38.  - Send.
  39.  - Reply, Forward.
  40.  - Next, Previous.
  41.  - Save, Delete.
  42.  
  43. Unsupported Features
  44. --------------------
  45.  
  46.  - Attachments.
  47.  - Reply All, Post.
  48.  - Move, Copy.
  49.  - Print.
  50.  
  51. For unsupported features, you have a choice of either disabling them or
  52. delegating their execution to the form viewer. This is controlled by setting
  53. the appropriate fields of the Value variable in the [Extensions.1] section of
  54. the form .cfg file. Refer to MAPI Form Documentation for details.
  55.