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

Remote Processes and Machine control of Windows NT based systems (2000/XP)

, 1 Apr 2012 CPOL
Control certain aspects of machines sitting remotely, without having to install and trigger an application on the remote machine.

#include <afxext.h>

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

class CRemoteAdminView;

class CMainFrame : public CFrameWnd

// Overrides
	// ClassWizard generated virtual function overrides
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void ActivateFrame(int nCmdShow = -1);

    afx_msg void OnAddMachine();
	afx_msg void OnDeleteMachine();
	virtual ~CMainFrame();
	CRemoteAdminView* GetRightPane();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;

	CMainFrame(); // create from serialization only

	CStatusBar  m_wndStatusBar;
	CToolBar    m_wndToolBar;
	CReBar      m_wndReBar;
    BOOL        m_bWindowOnTop;

    // Commented by Prateek Kaul on May 21, 2003
    // Currently no dialog bar required
	//CDialogBar  m_wndDlgBar;
    CSplitterWnd m_wndSplitter;

	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnClose();
	afx_msg void OnSettingsTimers();
	afx_msg void OnWindowAlwaysOnTop();
    afx_msg void OnUpdateWindowAlwaysOnTop(CCmdUI* pCmdUI);
    afx_msg void OnUpdateViewStyles(CCmdUI* pCmdUI);
	afx_msg void OnViewStyle(UINT nCommandID);

#endif // MAINFRAME_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.


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


About the Author

Prateek Kaul
Web Developer
India India
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150123.1 | Last Updated 1 Apr 2012
Article Copyright 2003 by Prateek Kaul
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid