Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

System Dialogs

, , 21 Aug 2004
This article shows you a very simple way to show system dialogs like Internet Options, Add/Remove Programs, and etc.
systemdialogs_demo.zip
res
SystemDialogs_Demo.ico
Release
SystemDialogs_Demo.exe
SystemDialogs_Demo.clw
SystemDialogs_Demo.dsp
SystemDialogs_Demo.dsw
systemdialogs_src.zip
// SystemDialog.h: interface for the CSystemDialog class.
//
//////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////
//	Copyright : A. Riazi 2004
//
//	Email :a.riazi@misbah3com.com
//
//	This code may be used in compiled form in any way you desire. This
//	file may be redistributed unmodified by any means PROVIDING it is 
//	not sold for profit without the authors written consent, and 
//	providing that this notice and the authors name is included.
//
//	This file is provided 'as is' with no expressed or implied warranty.
//	The author accepts no liability if it causes any damage to your computer.
//
//	Do expect bugs.
//	Please let me know of any bugs/mods/improvements.
//	and I will try to fix/incorporate them into this file.
//	Enjoy!
//
//	Description : Show various system dialogs like control panel applets, ...
////////////////////////////////////////////////////////////////////////////



#ifndef _SYSTEM_DIALOGS_H_
#define _SYSTEM_DIALOGS_H_

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

#define SD_FORMAT				1
#define SD_INTERNET_OPTIONS		2
#define SD_ADD_REMOVE_PROGRAMS	3
#define SD_DATE_TIME			4
#define SD_DISPLAY				5
#define SD_MODEM				6
#define SD_MULTIMEDIA			7
#define SD_MOUSE				8
#define SD_NETWORK				9
#define SD_PASSWORD				10
#define SD_SYSTEM				11
#define SD_REGIONAL_SETTINGS	12
#define SD_SOUNDS				13
#define SD_GAME_CONTROLLERS		14
#define SD_KEYBOARD				15
#define SD_DEVICE_MANAGER		16


typedef struct tagSystemDialog
{
	int iSystemDialogID;
	TCHAR cDllName[100];
	char cFuncName[256];
	TCHAR cCommand[100];

} SystemDialog;

class CSystemDialog  
{
public:
	void DoModal(int iDialogID, HWND hParent);
	CSystemDialog();
	virtual ~CSystemDialog();
};

#endif // _SYSTEM_DIALOGS_H_

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

Share

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


Shafiee
Web Developer
Iran (Islamic Republic Of) Iran (Islamic Republic Of)
No Biography provided

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