Click here to Skip to main content
15,891,951 members
Articles / Programming Languages / C

System Dialogs

,
Rate me:
Please Sign up or sign in to vote.
4.89/5 (68 votes)
21 Aug 2004CPOL1 min read 161.6K   3.4K   98  
This article shows you a very simple way to show system dialogs like Internet Options, Add/Remove Programs, and etc.
// SystemDialogs_Demo.h : main header file for the SYSTEMDIALOGS_DEMO application
//

#if !defined(AFX_SYSTEMDIALOGS_DEMO_H__4B77EA92_0600_4954_8DD1_B336AC855AE2__INCLUDED_)
#define AFX_SYSTEMDIALOGS_DEMO_H__4B77EA92_0600_4954_8DD1_B336AC855AE2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CSystemDialogs_DemoApp:
// See SystemDialogs_Demo.cpp for the implementation of this class
//

class CSystemDialogs_DemoApp : public CWinApp
{
public:
	CSystemDialogs_DemoApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSystemDialogs_DemoApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CSystemDialogs_DemoApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_SYSTEMDIALOGS_DEMO_H__4B77EA92_0600_4954_8DD1_B336AC855AE2__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 Code Project Open License (CPOL)


Written By
CEO Solaris Electronics LLC
United Arab Emirates United Arab Emirates
I was born in Shiraz, a very beautiful famous city in Iran. I started programming when I was 12 years old with GWBASIC. Since now, I worked with various programming languages from Basic, Foxpro, C/C++, Visual Basic, Pascal to MATLAB and now Visual C++.
I graduated from Iran University of Science & Technology in Communication Eng., and now work as a system programmer for a telecommunication industry.
I wrote several programs and drivers for Synthesizers, Power Amplifiers, GPIB, GPS devices, Radio cards, Data Acquisition cards and so many related devices.
I'm author of several books like Learning C (primary and advanced), Learning Visual Basic, API application for VB, Teach Yourself Object Oriented Programming (OOP) and etc.
I'm winner of January, May, August 2003 and April 2005 best article of month competition, my articles are:


You can see list of my articles, by clicking here


Written By
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions