Click here to Skip to main content
15,881,424 members
Articles / Desktop Programming / MFC

WaterMarker

Rate me:
Please Sign up or sign in to vote.
4.75/5 (17 votes)
5 Apr 2006Zlib5 min read 103.7K   3K   64  
An utility to protect yout pictures with a stamp bitmap.
#if !defined(AFX_DLGOPTIONS_H__218AAA01_FAC3_11D5_8DD7_00E07D8144D0__INCLUDED_)
#define AFX_DLGOPTIONS_H__218AAA01_FAC3_11D5_8DD7_00E07D8144D0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgOptions.h : header file
//

#include "xTargetButton.h"

class CxImageJPG;

/////////////////////////////////////////////////////////////////////////////
// DlgOptions dialog
class DlgOptions : public CDialog
{
// Construction
public:
	DWORD m_Opt_tif;
	DWORD m_Opt_gif;
	DWORD m_Opt_jpg;
	DWORD m_Opt_png;
	CxImageJPG* m_exif;
	DlgOptions(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(DlgOptions)
	enum { IDD = IDD_OPTIONS };
	CButton	m_chkJpgOpt;
	CxTargetButton	m_info;
	CButton	m_rEnc14;
	CButton	m_rEnc13;
	CButton	m_rEnc12;
	CButton	m_rEnc11;
	CButton	m_rEnc10;
	CButton	m_rEnc9;
	CButton	m_rEnc8;
	CButton	m_rEnc7;
	CButton	m_rEnc5;
	CButton	m_rEnc4;
	CButton	m_rEnc3;
	CButton	m_rEnc2;
	CButton	m_rEnc1;
	CButton	m_rEnc0;
	CxTargetButton	m_ok;
	CxTargetButton	m_canc;
	BYTE	m_quality;
	long	m_xres;
	DWORD	m_yres;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DlgOptions)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(DlgOptions)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnExif();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGOPTIONS_H__218AAA01_FAC3_11D5_8DD7_00E07D8144D0__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The zlib/libpng License


Written By
Software Developer
France France
KOCH David, 41 years old
Coder (embedded, C/C++, ASM, Erlang)

Comments and Discussions