使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 4905e2e7537d507f218e8e9595485e09d9f3a2b4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#pragma once
 
#include "CursorBase.h"
#include "MBAMDBConnect.h"
// STKMsgRow command target
 
class AFX_EXT_CLASS CSTKMsgRow : public CObject
{
public:
    CSTKMsgRow();
    virtual ~CSTKMsgRow();
    void operator = ( const CSTKMsgRow &Item );
 
// Attributers
public:
    CMBAMDBConnect        *m_pAConnect;
    CCursorBase            *m_pCursor;
// Operations
public:
    bool            GetCharSet( long &nCharSet );
    bool            GetProp( CString strDataName, CString &strDataValue );
    bool            GetMsgFlag( long &nFlag );
    bool            GetMsgType( long &nType );
    bool            GetAttitudeset( CString &strData );
    bool            GetReadState( long &nReturn );
    bool            IsDownloaded( BOOL bAdvanced, BOOL &bReturn );
    bool            GetSourceMsgID( CString &strMsgID );
    bool            GetMsgContentType( enum AMMSGCONTENTTYPE &nContentType );
    bool            GetItemValueStr( CString strItemName, CString &strData );
    bool            GetItemValue( CString strItemName, VARIANT &vData );
    bool            IsNeedConfirm( long &bIsConfirm );
    bool            IsGroupSend( long &bIsGroupSend );
    bool            GetAttachSize( long nIndex, __int64 &nSize );
    bool            GetAttachName( long nIndex, CString &strName );
    bool            GetAttachFileID( long nIndex, CString &strFileID );
    bool            GetAttachFileSFlag( long nIndex, CString &strFileSFlag );
    bool            GetAttachFilePath( long nIndex, CString &strFilePath );
    bool            GetAttachFileMD5( long nIndex, CString &strFileMD5 );
    bool            GetAttachCount( long &nCount );
    bool            GetMsgOwnerRData( long nIndex, CString &strOpenDate );
    bool            GetMsgOwnerName( long nIndex, CString &strName );
    bool            GetMsgOwner( long nIndex, CString &strLogin );
    bool            GetMsgOwnerCount( long &nCount );
    bool            GetMsgContent( enum AMMSGCONTENTTYPE nContentType, CString &strMsgContent );
    bool            GetSendDate( CString &strSendDate );
    bool            GetSenderName( CString &strName );
    bool            GetSender( CString &strName );
    bool            GetMsgSubject( CString &strSubject );
    bool            GetMsgID( CString &strMsgID );
    
    bool            ParesReceiversInfo( CString strReceiversInfo, CStringArray &asLogin, CStringArray &asUserName );
    bool            GetStrItem( CString &strBuff, CString &strItem, CString strApart );
 
    bool            GetAttribCount( long &nCount );
    bool            GetAttribName( long nIndex, CString &strName );
    bool            GetAttribValue( long nIndex, CString &strValue );
 
};