VisualBCutterDlg.h

 // VisualBCutterDlg.h : header file
//

#if !defined(AFX_VISUALBCUTTERDLG_H__85295B39_FA6E_4571_A654_6F3236C4FCFE__INCLUDED_)
#define AFX_VISUALBCUTTERDLG_H__85295B39_FA6E_4571_A654_6F3236C4FCFE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CVisualBCutterDlg dialog

class CVisualBCutterDlg : public CDialog
{

private:

CFile m_cInputFile;
ofstream m_cSliceFile;
ofstream m_cRestoreBatFile;
CString m_szSlicePath;
CWinThread* m_pThread;
bool m_bThreadRunning;

// Construction
public:
UINT ChopFile(LPVOID lParam);
CString m_szInputName;
CVisualBCutterDlg(CWnd* pParent = NULL); // standard constructor

// Dialog Data
//{{AFX_DATA(CVisualBCutterDlg)
enum { IDD = IDD_VISUALBCUTTER_DIALOG };
CComboBox m_cComboBox;
CProgressCtrl m_cProgress;
CString m_szSliceName;
CString m_szFileName;
long m_lSliceSize;
//}}AFX_DATA

// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVisualBCutterDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL



// Implementation
protected:
void EnableControls(BOOL state);
DECLARE_DYNAMIC(CVisualBCutterDlg)
long GetSliceSize(CString str);
HICON m_hIcon;

// Generated message map functions
//{{AFX_MSG(CVisualBCutterDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnFileOpen();
afx_msg void OnSlicefileopen();
afx_msg void OnContinue();
afx_msg void OnHelp();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VISUALBCUTTERDLG_H__85295B39_FA6E_4571_A654_6F3236C4FCFE__INCLUDED_)

Project Homepage: