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

Shared memory

, 28 Sep 2002
Share variables in the shared memory across processes
/********************************************************************************************
* MOD-NAME      : WaitMultiVarchDlg.h
* LONG-NAME     : 
*
* AUTHOR        : Angela Aremu
* DEPARTMENT    : 
* TELEPHONE     : 
* CREATION-DATE : 07/08/2002 19:00:00
* SP-NO         : 
* FUNCTION      : 
* 
*********************************************************************************************/
#if !defined _WAITMULTIVARCHDLG_H__
#define _WAITMULTIVARCHDLG_H__

#if _MSC_VER > 1000
#pragma once
#endif 

#include "XList\XListCtrl.h"
#include "SharedMemory.h"

class CWaitMultiVarchDlg : public CDialog
{

public:
	CWaitMultiVarchDlg(CWnd* pParent = NULL); 
	CWaitMultiVarchDlg(CSharedMemory *pSharedMemory, CWnd* pParent = NULL); 
// Dialog Data
	//{{AFX_DATA(CWaitMultiVarchDlg)
	enum { IDD = IDD_WAITMULTIVARCH_DLG };
	CButton	m_ctrlSelectAll;
	CXListCtrl	m_ctrMultiVarList;
	BOOL	m_bWaitForAll;
	BOOL	m_bSelectAll;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWaitMultiVarchDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    
	//}}AFX_VIRTUAL

// Implementation
protected:
	CSharedMemory *m_psm;
	// Generated message map functions
	//{{AFX_MSG(CWaitMultiVarchDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnSelectAll();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CXHeaderCtrl m_MultiVarHeader;
	CStringArray m_strArr;
	void InitList();
	void InitHeader();
};

#endif // _WAITMULTIVARCHDLG_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 Author

Martin Ziacek
Software Developer (Senior)
United Kingdom United Kingdom
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141216.1 | Last Updated 29 Sep 2002
Article Copyright 2001 by Martin Ziacek
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid