|
#pragma once
#include "afxcmn.h"
#include "StdStruct.h"
#include "afxwin.h"
// CPortData dialog
class CPortData : public CPropertyPage
{
DECLARE_DYNAMIC(CPortData)
public:
// the port data
CArray<PortInfo,PortInfo> m_Ports;
// the details of the port
CListCtrl m_PortData;
// the refresh button
CButton m_bnRefresh;
// the save button
CButton m_bnSave;
// the number of open ports
CStatic m_OpenPorts;
protected:
// the image list
CImageList* m_ImageList;
// the papa
CBackdoorClDlg* Papa;
// fill the list
void PopulateList();
public:
CPortData();
virtual ~CPortData();
// Dialog Data
enum { IDD = IDD_PORTDET };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
afx_msg void OnBnClickedRefresh();
afx_msg void OnBnClickedStopport();
afx_msg void OnBnClickedSavelist();
virtual BOOL OnSetActive();
};
|
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 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
This is just a beginning. I’m yet to decide the distance I have to travel.
I’m a 2nd year B. Tech. Student and I’ve started Visual programming about a year ago. Lets hope I can continue that for the rest of 2 and a half more years.