使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 0408576e9da10015ffa9da0079b8c985113ce4b3
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
#pragma once
#include "MBSelOrgList.h"
// CMBOrgUIBaseFun command target
 
class AFX_EXT_CLASS CMBOrgUIBaseFun : public CObject
{
public:
    CMBOrgUIBaseFun();
    virtual ~CMBOrgUIBaseFun();
public:
    static SStringW GetContactMiddleSkin( int nType, int nSex);
    static SStringW GetContactMiddleFile( int nSex ) ;
    static SStringW GetCrowdMiddleFile(  );
    static CString GetDateTimeString( CString strParam );
    static int  ComponentValue(const TCHAR* aColorSpec, int aLen, int color, int dpc);
    static BOOL HexToRGB( const CString& strColor, COLORREF* pColor);
    static BOOL IsFileValid( LPCTSTR strPath);
    static int GetStringLen(CString strText);
    static CString    GetRelSubject( CString strSubject, long  nMaxLen );
    static int        FindStrNoCaseInArray( CString strData, CStringArray &asData );
    
    static void SetUserPictureFixSize(CString strSaveDir, CString strImagePath, CString strID, CString &strMImgPath, CString &strLImgPath);
 
    static BOOL CreateDirectoryFullPath( CString strFilePath) ;
    
    static BOOL ShowSelectOrgItemWnd(CMBServerMgr *pMBServerMgr, CMBRecentContact *pMBRecentContact, CString strTitle,CMBSelOrgList *pListSelOrg) ;//,bool bMultiSelect,int nSelectStyle
};