?? demo_vcdlg.h
字號:
// Demo_VCDlg.h : header file
//
//{{AFX_INCLUDES()
#include "cl2005ocx.h"
//}}AFX_INCLUDES
#if !defined(AFX_DEMO_VCDLG_H__0475F847_4F2E_4DF1_9F3C_14EFF678A98D__INCLUDED_)
#define AFX_DEMO_VCDLG_H__0475F847_4F2E_4DF1_9F3C_14EFF678A98D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDemo_VCDlg dialog
class CDemo_VCDlg : public CDialog
{
// Construction
public:
CDemo_VCDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDemo_VCDlg)
enum { IDD = IDD_DEMO_VC_DIALOG };
CStatic m_Pict;
CCL2005Ocx m_CL2005;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDemo_VCDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDemo_VCDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
typedef WORD LineType[128];
struct ProgStruct
{
BYTE PictIndex;
BYTE Enter;
BYTE Leave;
BYTE Speed;
BYTE StayTime;
BYTE bFollowPlay;
BYTE bShowTimer;
BYTE bTimerPlay;
BYTE TimerMode;
BYTE WeekFlag;
BYTE StartHour;
BYTE StartMinute;
BYTE EndHour;
BYTE EndMinute;
BYTE NotUsed0;
BYTE NotUsed1;
};
typedef struct ProgStruct ProgType;
void PictToBuff(CDC *dc, LineType *PictBuf,
WORD PictWidth, WORD PictHeight,
WORD Width,WORD Height,
BYTE Color);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEMO_VCDLG_H__0475F847_4F2E_4DF1_9F3C_14EFF678A98D__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -