📄 halphasplashdlg.h
字号:
#if !defined(AFX_HALPHASPLASHDLG_H__3B5788BB_8367_4E3C_8E1A_7622A3A64124__INCLUDED_)
#define AFX_HALPHASPLASHDLG_H__3B5788BB_8367_4E3C_8E1A_7622A3A64124__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// halphasplashdlg.h : header file
//
#include "HResource.h"
#include "HADOSpirit.h"
#include "HStatic.h"
#include "HTransParentAviCtrl.h"
#include "HTransparentAviDialog.h"
#include "dib256.h"
#include "halphactrl.h"
/////////////////////////////////////////////////////////////////////////////
// CHAlphaSplashDlg dialog
class AFX_EXT_CLASS CHAlphaSplashDlg : public CDialog, public CHADOSpirit
{
// Construction
public:
void ShowControls(BOOL bShowControls=TRUE);
void SetCLientRect(CRect rc);
void SetBitmap(CString strBmpFileName);
CHAlphaSplashDlg(CString strPicFileName="",CWnd* pParent = NULL); // standard constructor
void StartShow();
void SetAlpha(int nAlphStart,int nAlphaEnd,int nAlphaStep);
void SetTime(int nMillionSencond);
void EnableCenterPic(BOOL bCenter=TRUE);
CString GetPWD();
void SetControlPos(int nBmpWidth,int nBmpHeight);
// Dialog Data
//{{AFX_DATA(CHAlphaSplashDlg)
enum { IDD = IDD_HCONTROL_FV_ALPHA_SPLASH_DLG };
CHStatic m_oHStaticPwd;
CEdit m_oEdPwd;
CHStatic m_oHStaticName;
CEdit m_oEdUserName;
CButton m_oBnOk;
CButton m_oBnCancel;
CHAlphaCtrl m_oAlphaBitmap;
CString m_strUserName;
CString m_strPWD;
//}}AFX_DATA
CHTransParentAviCtrl m_oHTransParentAvi;
CString m_strPicFileName;
BOOL m_bCenterPic;
int m_nTime;
int m_nAlphaStart;
int m_nAlphaEnd;
int m_nAlphaStep;
CRect m_rectClient;
BOOL m_bShowControls;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHAlphaSplashDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HINSTANCE m_hResourceInstance;
// Generated message map functions
//{{AFX_MSG(CHAlphaSplashDlg)
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
afx_msg long OnAlphaTread(UINT wParm,LONG lParm);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HALPHASPLASHDLG_H__3B5788BB_8367_4E3C_8E1A_7622A3A64124__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -