⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 winsurgedlg.h

📁 winsur 源码 winsur 源码
💻 H
字号:
// WinSurgeDlg.h : header file
//

#if !defined(AFX_WINSURGEDLG_H__3FF5E35F_7D31_464D_B6DD_871960D4A66D__INCLUDED_)
#define AFX_WINSURGEDLG_H__3FF5E35F_7D31_464D_B6DD_871960D4A66D__INCLUDED_

#include "MCIMP3.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "FlatButton.h"
#include "ListDlg.h"	// Added by ClassView
#include "Mp3Slide.h"
#define MAX_FACE 16

/////////////////////////////////////////////////////////////////////////////
// CWinSurgeDlg dialog

class CWinSurgeDlg : public CDialog
{
// Construction
public:
	void ChangeFace();
	CString TypeList[MAX_FACE];
	void InitFace();
	CString m_type;
	void last();
	void next();
	int index;
	void FindFiles(CString DirName);
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	void open(int i);
	void Stop();
	void Pause();
	void Play();
	MCIMP3 m_mci;
	void InitButton(CString path);
	CWinSurgeDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CWinSurgeDlg)
	enum { IDD = IDD_WINSURGE_DIALOG };
	CMp3Slide	m_slide;
	CStatic	m_helpB;
	CFlyButton	m_lasts;
	CFlyButton	m_lastf;
	CFlyButton	m_list;
	CFlyButton	m_stop;
	CFlyButton	m_play;
	CFlyButton	m_pause;
	CFlyButton	m_nexts;
	CFlyButton	m_nextf;
	CFlyButton	m_loop;
	CFlyButton	m_addf;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWinSurgeDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	int nType;
	CToolTipCtrl m_tooltip;
	CString TimeStr;
	CListDlg m_listDlg;
	BOOL m_hidef;
	BOOL m_loopf;
	CBrush m_bkBrush;

	void DrawBmp(int x, int y, CString key, int i);
	CString DiStr;
	int y;
	int x;
	CRect rect;
	CDC* pDC;
	CWnd* pWnd;

	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CWinSurgeDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnAddfile();
	afx_msg void OnPlay();
	afx_msg void OnPause();
	afx_msg void OnStop();
	afx_msg void OnLaststep();
	afx_msg void OnNextstep();
	afx_msg void OnLoop();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnList();
	afx_msg void OnAddsingle();
	afx_msg void OnAddgroup();
	afx_msg void OnLastfile();
	afx_msg void OnNextfile();
	afx_msg void OnMin();
	afx_msg void OnClose();
	afx_msg void OnHelps();
	afx_msg void OnDelall();
	afx_msg void OnMove(int x, int y);
	afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnCustomdrawSlider(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	afx_msg void OnReShow(WPARAM wParam,LPARAM iParam); 
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WINSURGEDLG_H__3FF5E35F_7D31_464D_B6DD_871960D4A66D__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -