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

Hiding a text file in a bmp file

Rate me:
Please Sign up or sign in to vote.
4.72/5 (348 votes)
26 Nov 20033 min read 496.1K   22.8K   206  
How to hide a text file in a bmp file
#if !defined(AFX_FILEDLG_H__45E19F31_2BDD_11D7_AF3F_EC32507F1057__INCLUDED_)
#define AFX_FILEDLG_H__45E19F31_2BDD_11D7_AF3F_EC32507F1057__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CFileDlg dialog

class CFileDlg : public CFileDialog
{
	DECLARE_DYNAMIC(CFileDlg)

public:
	CFileDlg(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs
		LPCTSTR lpszDefExt = NULL,
		LPCTSTR lpszFileName = NULL,
		DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
		LPCTSTR lpszFilter = NULL,
		CWnd* pParentWnd = NULL);

protected:
	//{{AFX_MSG(CFileDlg)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_FILEDLG_H__45E19F31_2BDD_11D7_AF3F_EC32507F1057__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
Systems Engineer
Egypt Egypt
My Name Ahmed Osama.
Communication & Electronic engineering
I like so much programming using c\c++ , MFC and VC++
i like programming in many fields like "digital signal processor" and math and image processing

Comments and Discussions