Click here to Skip to main content
15,889,096 members
Articles / Programming Languages / C#

Using the Windows 2000/XP Object Selection Dialog

Rate me:
Please Sign up or sign in to vote.
4.92/5 (29 votes)
21 Nov 2005CPOL14 min read 251K   4.5K   57  
This article describes how to use the "Select Users or Groups" system dialog.
/*
	$Workfile:$
	$Header:$

	Copyright � 2002 Friedrich Brunzema.
	All rights reserved.

	@doc
	@module DSOP_ScopeType.h - Scope Type Dialog class defn |

	

	Revision History:
		2002-12-19  Initial Rev.
	$Log$ 
*/

#if !defined(AFX_DSOP_SCOPETYPE_H__9D5736EB_46A5_42AF_8DCC_FFD7BEE643B0__INCLUDED_)
#define AFX_DSOP_SCOPETYPE_H__9D5736EB_46A5_42AF_8DCC_FFD7BEE643B0__INCLUDED_

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


/*
	Class:				CDSOP_ScopeType
	Derived From:		CDialog
	Type of class:		Derived

	Description:
		Defines the Scope_type dialog

	@class Scope Type Dialog Class
	@base public | CDialog
*/
class CDSOP_ScopeType : public CDialog
{
public:
	//@cmember This contains the SOP_SCOPE_TYPE_* flags that match the dialog checkboxes
	DWORD	m_flags;

	CDSOP_ScopeType(CWnd* pParent = NULL);   
	//{{AFX_DATA(CDSOP_ScopeType)
	enum { IDD = IDD_SCOPE_TYPE };
	//}}AFX_DATA

	//{{AFX_VIRTUAL(CDSOP_ScopeType)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);   
	//}}AFX_VIRTUAL

protected:
	//{{AFX_MSG(CDSOP_ScopeType)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}

#endif // !defined(AFX_DSOP_SCOPETYPE_H__9D5736EB_46A5_42AF_8DCC_FFD7BEE643B0__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
Software Developer (Senior) AB SCIEX
Canada Canada
I was born and grew up in Northern Germany grew up in Quebec in a French Language environment. I finished High School in Fergus, Ontario. After a 4 year training as a Pipe Organ Builder in Germany, I returned to Canada to get a B.Sc. in Computer Science. I'm currently working for a company called AB SCIEX working on Mass Spectrometer Software, am married, and have three often wonderful children. What you believe in matters - I am a follower of Jesus Christ - we attend a German-Lutheran congregation in downtown Toronto.

Comments and Discussions