📄 vcshowdlg.h
字号:
// VCShowDlg.h : header file
//
#if !defined(AFX_VCSHOWDLG_H__3067C661_B46A_46F9_BCD2_716402C70A3D__INCLUDED_)
#define AFX_VCSHOWDLG_H__3067C661_B46A_46F9_BCD2_716402C70A3D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "PictureControl.h"
#include "SeriesSnapDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CVCShowDlg dialog
#include "ximage.h"
#define WM_SNAP_CHANGE (WM_USER + 100)
class CVCShowDlg : public CDialog
{
// Construction
public:
CVCShowDlg(CWnd* pParent = NULL); // standard constructor
int m_icontrast;
int m_ihue;
int m_isaturation;
int m_ibrightness;
BOOL m_blRun;
CxImage *m_img;
// BYTE *lpBits;
// BITMAPINFOHEADER * pInfo;
void RefreshDisplay();
private:
PictureControl m_imagCtrl;
bool FileDialog(CString &filename);
void ConvertName(CString &charPathName, int capName);
bool ReConfigCard(int x,int y);
bool TReConfigCard(int x,int y);
void InnerSaveBmp(CString szFileD,bool flag);
public:
// friend LRESULT CALLBACK FrameCallbackProc(HWND hWnd, LPVIDEOHDR lpVHdr);
// Dialog Data
//{{AFX_DATA(CVCShowDlg)
enum { IDD = IDD_VCSHOW_DIALOG };
CStatic m_Videopro;
CButton m_pardlg;
CSliderCtrl m_contrast;
CSliderCtrl m_saturation;
CSliderCtrl m_hue;
CSliderCtrl m_brightness;
CStatic m_VideoDlg;
int m_datex;
int m_datey;
int m_logox;
int m_logoy;
int m_timex;
int m_timey;
BOOL m_isShowDate;
BOOL m_isShowLogo;
BOOL m_isShowTime;
CString m_LogoText;
int m_ulCapWidth;
int m_ulCapHeight;
int m_iMode;
int m_iBlaze;
int m_VideoInput;
BOOL m_bUseAudio;
int m_iIndex;
bool series_flag;
CString charPath;
CString tempPath;
long capName;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVCShowDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CVCShowDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBtRun();
virtual void OnCancel();
afx_msg void OnBtClose();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnDefalut();
afx_msg void OnDatecheck();
afx_msg void OnTimecheck();
afx_msg void OnLogocheck();
afx_msg void OnRadioAv1();
afx_msg void OnRadioAv2();
afx_msg void OnRadioSvideo();
afx_msg void OnSetCapsize();
virtual void OnOK();
afx_msg void OnCloseupInblaze();
afx_msg void OnCloseupInfocus();
afx_msg void OnCaptures();
afx_msg void OnMpegPar();
afx_msg void OnCheckUseAudio();
afx_msg void OnBtGetCardid();
afx_msg void OnCapturepic();
afx_msg void OnSeries();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSingleImage();
afx_msg void OnImageRotate();
afx_msg void OnImageHflip();
afx_msg void OnImageVflip();
afx_msg void OnImageFilter();
afx_msg void OnImageSnap();
afx_msg void OnImageStopsnap();
afx_msg void OnImageZhuanzhi();
afx_msg void OnCorner();
afx_msg void OnImageEdge();
afx_msg void OnImageGamma();
afx_msg void OnImagePseudocolors();
afx_msg void OnColorsplit();
afx_msg void OnImageGray();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void DibShow();
public:
static int CALLBACK SnapThreadCallback();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VCSHOWDLG_H__3067C661_B46A_46F9_BCD2_716402C70A3D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -