Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

58 lines
1.5 KiB
C++

#if !defined(AFX_BMPDLG_H__F25E1783_919A_48FA_A9E9_E8146E23F0E9__INCLUDED_)
#define AFX_BMPDLG_H__F25E1783_919A_48FA_A9E9_E8146E23F0E9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BmpDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBmpDlg dialog
#include "Resource.h"
class CBmpDlg : public GlwCAcUiDialog
{
// Construction
public:
CBmpDlg(CWnd* pParent = NULL); // standard constructor
~CBmpDlg();
// Dialog Data
//{{AFX_DATA(CBmpDlg)
enum { IDD = IDD_SAVEBMP };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
CWnd* m_pWndAcadView;
CBitmap bitmap;
int w_CBitmap,h_CBitmap; //原始尺寸
void GetRectBmpFromBmp( CWnd *pWnd ,CRect rectClient);
CRect rectVP;
void DrawBmp(CBitmap* Bitmap,CDC *pDC,int x,int y,int wide,int high,int DrawMode);
void ReadAcad( CWnd *pWnd , BOOL bIsAll);
void HideDialog(BOOL Flag);
void MoveDlg();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBmpDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CBmpDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BMPDLG_H__F25E1783_919A_48FA_A9E9_E8146E23F0E9__INCLUDED_)