?? httpinternetdlg.h
字號:
// HttpInternetDlg.h : 頭文件
//
#pragma once
#include "afxwin.h"
#include <afx.h>
#include <afxinet.h>
// CHttpInternetDlg 對話框
class CHttpInternetDlg : public CDialog
{
// 構造
public:
CHttpInternetDlg(CWnd* pParent = NULL); // 標準構造函數
// 對話框數據
enum { IDD = IDD_HTTPINTERNET_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
public:
CInternetSession m_Session;
CStdioFile *hFile;
CString m_strHData;
int m_DayStartTime;
CTime DayStartTime;
CTime m_CurSystemTime;
int CurSystemTime;
BOOL m_IsSendStat;//是否發送開始信號
BOOL m_IsSendResult;//是否發送結果
int m_CurRound;//當前游戲局數
int m_State; //0-未開獎;1-已開獎。
int m_StartTime;//開始時間(秒)
int m_EndTime;//結束時間(秒)
BYTE m_Result[6];//結果,初始化為255(表示沒有結果)
int m_RoundTime;//每局間隔時間(秒)
HANDLE m_handle;
BOOL m_Start;
public:
CString GetHttpFile();
// UINT SendServer();
void SendResult(int round,BYTE* result);
void SendStart(int round,int time);
// 實現
protected:
HICON m_hIcon;
// 生成的消息映射函數
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
CString m_strUrl;
public:
CListBox m_ListBox;
public:
afx_msg void OnBnClickedStart();
public:
afx_msg void OnBnClickedStop();
public:
afx_msg void OnLbnSelchangeList1();
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -