Click here to Skip to main content
15,896,912 members
Articles / Desktop Programming / MFC

Load, show and convert miscellaneous file-formats using freeimage

Rate me:
Please Sign up or sign in to vote.
4.91/5 (21 votes)
1 May 20025 min read 853.3K   20.9K   170  
Shows the usage of the freeimage-library to show and convert various file-formats
#if !defined(AFX_DLGZOOM_H__F64CA78C_A6AE_41B5_8D0F_AF5FF1E99292__INCLUDED_)
#define AFX_DLGZOOM_H__F64CA78C_A6AE_41B5_8D0F_AF5FF1E99292__INCLUDED_

#pragma once

//////////////////////////////////////////////////////////////////////
//
// CDlgZoom
//
//////////////////////////////////////////////////////////////////////

class CDlgZoom : public CDialog
{
public:
	CDlgZoom(CWnd* pParent = NULL, double zoom=1.0, double factor=1.1);

	//{{AFX_DATA(CDlgZoom)
	enum { IDD = IDD_DIALOG_ZOOM };
	double	m_editFactor;
	double	m_editValue;
	//}}AFX_DATA

	//{{AFX_VIRTUAL(CDlgZoom)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);
	//}}AFX_VIRTUAL

	//{{AFX_MSG(CDlgZoom)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}

#endif // AFX_DLGZOOM_H__F64CA78C_A6AE_41B5_8D0F_AF5FF1E99292__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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions