Click here to Skip to main content
12,242,812 members (45,339 online)
Click here to Skip to main content


96 bookmarked

System Dialogs

, , 21 Aug 2004 CPOL
This article shows you a very simple way to show system dialogs like Internet Options, Add/Remove Programs, and etc.
// SystemDialogs_DemoDlg.h : header file


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

// CSystemDialogs_DemoDlg dialog

class CSystemDialogs_DemoDlg : public CDialog
// Construction
	CSystemDialogs_DemoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
		// NOTE: the ClassWizard will add data members here

	// ClassWizard generated virtual function overrides
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support

// Implementation
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnAddRemoveProgram();
	afx_msg void OnDateTime();
	afx_msg void OnDeviceManager();
	afx_msg void OnDisplay();
	afx_msg void OnFormat();
	afx_msg void OnGameControlers();
	afx_msg void OnInternetOption();
	afx_msg void OnKeyboard();
	afx_msg void OnModem();
	afx_msg void OnMouse();
	afx_msg void OnMultimedia();
	afx_msg void OnNetwork();
	afx_msg void OnPassword();
	afx_msg void OnRegionalSettings();
	afx_msg void OnSound();
	afx_msg void OnSystem();

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

#endif // !defined(AFX_SYSTEMDIALOGS_DEMODLG_H__1D35A876_B1EC_4DB0_96AD_7D8DABD8F241__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.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Authors

A. Riazi
CEO Misbah3Com
Iran (Islamic Republic of) Iran (Islamic Republic of)
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 Acqusition 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 competetion, my articles are:

You can see list of my articles, by clicking here

Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 22 Aug 2004
Article Copyright 2004 by A. Riazi, Shafiee
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid