www.pudn.com > duanxinfangwei.rar > FormView_MakeNewCode.h
#if !defined(AFX_FORMVIEW_MAKENEWCODE_H__52EC025E_0EA3_492F_AE7E_67C5D8C9EF31__INCLUDED_) #define AFX_FORMVIEW_MAKENEWCODE_H__52EC025E_0EA3_492F_AE7E_67C5D8C9EF31__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // FormView_MakeNewCode.h : header file // #include#define STARTMAKECODE 0xF0 #define SPLITFLAG "\r\n" ///////////////////////////////////////////////////////////////////////////// // CFormView_MakeNewCode view class CFormView_MakeNewCode : public CListView { public: CFormView_MakeNewCode(); protected: //CFormView_MakeNewCode(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(CFormView_MakeNewCode) // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CFormView_MakeNewCode) public: virtual void OnInitialUpdate(); protected: virtual void OnDraw(CDC* pDC); // overridden to draw this view //}}AFX_VIRTUAL // Implementation protected: virtual ~CFormView_MakeNewCode(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions protected: BOOL PeekAndPump(); //{{AFX_MSG(CFormView_MakeNewCode) afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: void ExportCodeFile(std::list
codelist); CString GetRandString(CString elementlist, int len); void MakeCode(); void SetMakeCodePara(); int m_codenum; CString m_file; int m_codeLen; int m_productId; bool m_useLetter; bool m_useNum; }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_FORMVIEW_MAKENEWCODE_H__52EC025E_0EA3_492F_AE7E_67C5D8C9EF31__INCLUDED_)