?? carlpdlg.h
字號:
// CarLPDlg.h : 頭文件
//
#pragma once
#include "stdafx.h"
#include "CarLP.h"
#include "ImageWnd.h"
#include "Splash.h"
// CCarLPDlg 對話框
class CCarLPDlg : public CDialog
{
// Construction
public:
// BOOL Grabbing;
void Scan();
void PseudoColor();
void PrintImages();
void SaveAs();
void Edge();
void BiValue();
void Restore();
void Copy();
void BrightModify();
void Noise(int type);
void NoColor();
void LoadBitmap();
void Paste();
void Transform();
void Smooth();
void HistogramEq();
void Geometrical();
void OpenFile();
int HitTestButton(int x0,int y0);
void HoughIMG();//Houhgh transformation
CString FileName;
int nWidth;
int nHeight;
int nLen;
int nByteWidth;
BYTE *lpPoints;
BYTE *lpBackup;
BYTE *lpBitmap;
BYTE *lpBits;
void MenuButton(int pos,int status);
void AddButton(int x,int y,int ID,const char *caption);
char buttoncaption[50][30];
int buttonid[50];
int buttonx[50];
int buttony[50];
int buttonptr;
int menufocus,menuclick;
CImageWnd source,dest;
// 構(gòu)造
public:
CCarLPDlg(CWnd* pParent = NULL); // 標(biāo)準(zhǔn)構(gòu)造函數(shù)
// 對話框數(shù)據(jù)
//{{AFX_DATA(CarLPDlg)
enum { IDD = IDD_CARLP_DIALOG };
//}}AFX_DATA(CarLPDlg)
//{{AFX_DATA(CarLPDlg)
public:
virtual void WinHelp(DWORD_PTR dwData,UINT nCmd=HELP_CONTEXT);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
//}}AFX_VIRTUAL
// 實(shí)現(xiàn)
//protected:
public:
HICON m_hIcon;
// 生成的消息映射函數(shù)
//{{AFX_MSG(CDIPDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg LRESULT OnClick(WPARAM pos,LPARAM dump);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnDestroy();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnBnClickedOpen();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -