home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / sdk / mapi / win16 / dev / propvu / bldprop.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-11  |  2.5 KB  |  117 lines

  1. /*********************************************************************/
  2. /*
  3.  -  bldprop.h
  4.  -  Copyright (C) 1995 Microsoft Corporation
  5.  -
  6.  *  Purpose:
  7.  *      Defines id's, function prototypes, classes for SetProps class
  8.  *
  9.  */
  10. /*********************************************************************/
  11.  
  12. #ifndef __bldprop_h_        // test defined
  13. #define __bldprop_h_
  14.  
  15.  
  16. #include "propvu.h"
  17.  
  18. /*********************************************************************/
  19. /*
  20.  -  CBldPropDlg Class
  21.  -
  22.  *  Purpose:
  23.  *      Defines the controls for the Set Property Dialog
  24.  *
  25.  */
  26. /*********************************************************************/
  27.  
  28. class CBldPropDlg : public CModalDialog
  29. {
  30. public:
  31.     CString         m_SelectedTag;      
  32.     LPMAPIPROP      m_lpSetEntry;       // pointer to LPMAPIPROP object
  33.     LONG            m_lSelectedTag;     // currently selected proptag
  34.  
  35.     BOOL            m_fCall;            // set to true if call, else don't call, false
  36.  
  37.     BOOL            m_fIsPropValueArray;    // if PropValueArray then ==1
  38.     CString         m_Operation;
  39.  
  40.     LPSPropValue    m_lpOldPropValue;   // holds state when come into setprops
  41.     ULONG           m_ulOldValues;
  42.  
  43.     LPSPropValue   *m_lppNewPropValue;  // used to build new lpsPropValue to set with
  44.     ULONG           m_ulNewValues;
  45.     
  46.     LPSPropValue    m_lpspvaSelected;
  47.  
  48.     LPSPropTagArray m_lpNewPTA;         // used to build new lpsPropTagArray get with
  49.  
  50.     CBldPropDlg(CWnd * pParentWnd)
  51.         : CModalDialog(PropBuilder, pParentWnd)
  52.     {
  53.         m_Operation         = "PropBuilder";
  54.         m_lpOldPropValue    = NULL;
  55.         m_ulOldValues       = 0;
  56.         m_lppNewPropValue   = NULL;
  57.         m_lpNewPTA          = NULL;
  58.         m_ulNewValues       = 0;
  59.         m_lSelectedTag      = 0;
  60.         m_lpSetEntry        = NULL;
  61.         m_lpspvaSelected    = NULL;
  62.         m_fCall             = FALSE;
  63.     }
  64.  
  65.     ~CBldPropDlg(); 
  66.  
  67.     BOOL OnInitDialog();
  68.  
  69.     void OnCall();      
  70.     void OnAdd();
  71.     void OnDelete();        
  72.     void OnSelectPropTagLB();
  73.     void OnSelectPropTypeCB();
  74.     void OnChangePropIDHexLB();
  75.     void OnRemoveAll();
  76.     void OnAddAllMapiTags();
  77.     void OnAddAllCurrent();
  78.     void RedrawBuildProps();
  79.  
  80.     void SelectNewPropType(ULONG ulSelectedType);
  81.  
  82.     void OnDumpPropValsToFile();
  83.     
  84.     DECLARE_MESSAGE_MAP();
  85. };
  86.                          
  87.  
  88. #endif
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.