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

📄 statichandset.h

📁 swf 格式文件(Flash)阅读器.根据 Flash 文件窗口的大小自适应调整阅读器窗口大小。直持压缩过 swf 文件。如果为 *.exe 格式 Flash 文件可用 Exe2Swf 程序进行分解为
💻 H
字号:
#if !defined(AFX_STATICHANDSET_H__8DB3EAB1_E134_41E6_A3BB_7D5A4926D11D__INCLUDED_)
#define AFX_STATICHANDSET_H__8DB3EAB1_E134_41E6_A3BB_7D5A4926D11D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StaticHandset.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStaticHandset window

class CStaticHandset : public CStatic
{
//Construction
public:
	CStaticHandset();
	virtual~CStaticHandset();

//Attributes
public:
	
//Operations
public:
	void SetURL(CString strURL);
	CString GetURL()const;
	
	void SetColours(COLORREF crLinkColour,COLORREF crVisitedColour,COLORREF crHoverColour);

	COLORREF GetLinkColour()const;
	COLORREF GetVisitedColour()const;
	COLORREF GetHoverColour()const;
	
	void SetVisited(BOOL bVisited = TRUE);
	BOOL GetVisited()const;
	
	void SetLinkCursor(HCURSOR hCursor);
	HCURSOR GetLinkCursor()const;
	
	void SetUnderline(BOOL bUnderline = TRUE);
	BOOL GetUnderline()const;
	
	void SetAutoSize(BOOL bAutoSize = TRUE);
	BOOL GetAutoSize()const;
	
	//Implementation
	HINSTANCE GotoURL(LPCTSTR url,int showcmd);
	void ReportError(int nError);
	LONG GetRegKey(HKEY key,LPCTSTR subkey,LPTSTR retdata);
	void PositionWindow();
	void SetDefaultCursor();
	
	//Overrides
	//ClassWizardgeneratedvirtualfunctionoverrides
	//{{AFX_VIRTUAL(CStaticHandset)
public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
	virtual void PreSubclassWindow();
	//}}AFX_VIRTUAL
	//Protectedattributes
protected:
protected:
	COLORREF m_crLinkColour,m_crVisitedColour;//Hyperlinkcolours
	COLORREF m_crHoverColour;//Hovercolour
	BOOL m_bOverControl;//cursorovercontrol?
	BOOL m_bVisited;//Hasitbeenvisited?
	BOOL m_bUnderline;//underlinehyperlink?
	BOOL m_bAdjustToFit;//Adjustwindowsizetofittext?
	CString m_strURL;//hyperlinkURL
	CFont m_Font;//Underlinefontifnecessary
	HCURSOR m_hLinkCursor;//Cursorforhyperlink
	CToolTipCtrl m_ToolTip;
	
	//Generatedmessagemapfunctions
protected:
	//{{AFX_MSG(CStaticHandset)
	afx_msg HBRUSH CtlColor(CDC* pDC,UINT nCtlColor);
	afx_msg BOOL OnSetCursor(CWnd* pWnd,UINT nHitTest,UINT message);
	afx_msg void OnMouseMove(UINT nFlags,CPoint point);
	//}}AFX_MSG
	afx_msg void OnClicked();

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_STATICHANDSET_H__8DB3EAB1_E134_41E6_A3BB_7D5A4926D11D__INCLUDED_)

⌨️ 快捷键说明

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