reman3/Rayman_X/cpa/tempgrp/TIA/Inc/EdIRReplce.hpp

71 lines
1.9 KiB
C++

#if !defined(AFX_PA_EDIR_DIAGREPLACE_H__42E042DB_BE4E_11D1_8787_00A0245D4701__INCLUDED_)
#define AFX_PA_EDIR_DIAGREPLACE_H__42E042DB_BE4E_11D1_8787_00A0245D4701__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// PA_EdIR_DiagReplace.h : header file
//
#include "EdIRRes.h"
#include "EdIRRed.hpp"
#include "EdIRBVw.hpp"
#include "edirfrm.hpp"
#include "edirird.hpp"
#include "edirbvw.hpp"
#include "edirbeha.hpp"
#define C_DEFAULTCOLOR RGB(0,0,0)
#define C_COMMENTCOLOR RGB(150,70,150)
/////////////////////////////////////////////////////////////////////////////
// CPA_EdIR_DiagReplace dialog
class CPA_EdIR_EditCtrl;
class CPA_EdIR_DiagReplace : public CDialog
{
// Construction
public:
CPA_EdIR_DiagReplace(CPA_EdIR_EditCtrl *EditCtrl , CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPA_EdIR_DiagReplace)
enum { IDD = IDD_DIALOG_FIND_AND_REPLACE };
CComboBox m_replace;
CComboBox m_find;
BOOL m_bCaseSensitive;
BOOL m_bAllAi;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPA_EdIR_DiagReplace)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPA_EdIR_DiagReplace)
afx_msg void OnButtonFindNext();
afx_msg void OnButtonReplace();
afx_msg void OnButtonReplaceAll();
virtual BOOL OnInitDialog();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public :
BOOL fn_ExistFind(CString);
BOOL fn_ExistReplace(CString);
CPA_EdIR_EditCtrl *m_EditCtrl;
BOOL m_bFirst;
CPA_EdIR_DiagView * m_DiagView ;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PA_EDIR_DIAGREPLACE_H__42E042DB_BE4E_11D1_8787_00A0245D4701__INCLUDED_)