vc application 中的7788

自定义消息:

Code

程序中需要用到系统托盘的功能,在 http://www.vckbase.com/document/viewdoc/?id=677 中得到了最简单的方法~水~

几个简单函数

Code

线程相关的东东:

private: 

  HANDLE copyFileThread ;

public:

  static DWORD WINAPI ThreadCopyFileProc (LPVOID lpParameter); 

   

Code

读写2进制文件

Code

用CSpreadSheetEx读excel貌似dao方式

Code

读word文件,用auto的方式

Code

 一个数字字符串加分号的函数:

    CString strTest = L"321123456789";
    CString newStr = L"";
    int iLength = strTest.GetLength();
    int curIndex = 0;
    for(int i=iLength-1;i>=0;i--,curIndex++)
    {
        if( curIndex%3 == 0 && curIndex!=0 )
        {
            newStr = L"," + newStr;
        }
        newStr = strTest.GetAt(i) + newStr;
    }

    AfxMessageBox(newStr); 

原文地址:https://www.cnblogs.com/abinxm/p/1609490.html