|
// 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.
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
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.