67 lines
1.9 KiB
C++
67 lines
1.9 KiB
C++
#if !defined(AFX_BLKMANREPLACEOPTION_H__B7FD13A2_0381_11D3_AB89_0000E83E72AC__INCLUDED_)
|
|
#define AFX_BLKMANREPLACEOPTION_H__B7FD13A2_0381_11D3_AB89_0000E83E72AC__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// BlkManReplaceOption.h : header file
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CBlkManReplaceOption dialog
|
|
#include "bloption.h" // Added by ClassView
|
|
|
|
class CBlkManReplaceOption : public CModelessDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
XString m_sSldFile;
|
|
CString m_stkwfile;
|
|
CString m_stkfile;
|
|
CString m_sCurRecord;
|
|
void DrawSld();
|
|
CImageDC m_slideDc;
|
|
void GetStatus();
|
|
void SaveStatus();
|
|
int GetControlFlag();
|
|
|
|
CBlkManReplaceOption(CWnd* pParent = NULL); // standard constructor
|
|
CBlkManReplaceOption(CString tkwfile,CString tkfile,CString curRecord,CWnd* pParent); //add by cwk on 060911
|
|
int m_nUseOtherBlkToRepl;
|
|
BOOL m_bUseJpg;
|
|
AcDbObjectId m_idBlock;
|
|
public:
|
|
// Dialog Data
|
|
//{{AFX_DATA(CBlkManReplaceOption)
|
|
enum { IDD = IDD_DLG_BLKMANREPLACEOPTION };
|
|
//}}AFX_DATA
|
|
static int m_nFixScale;
|
|
static int m_nOneByOne;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CBlkManReplaceOption)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CBlkManReplaceOption)
|
|
afx_msg void OnClose();
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnDestroy();
|
|
afx_msg void OnKillFocus(CWnd* pNewWnd);
|
|
afx_msg void OnSlide();
|
|
afx_msg void OnPaint();
|
|
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_BLKMANREPLACEOPTION_H__B7FD13A2_0381_11D3_AB89_0000E83E72AC__INCLUDED_)
|