亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? stfullscreen.h

?? evc下全屏代碼
?? H
字號:
/////////////////////////////////////////////////////////////////////////////
// File name:      STFullScreen.h
// Author:         Vassili Philippov (vasja@spbteam.com)
// Created:        May 2001
// Last changed:   10 August 2001
// Version:        1.4
// Description:    Classes for organizing full screen applications

#if !defined(AFX_STFULLSCREEN_H__61332875_BE69_4783_AB30_CB75D099EB1C__INCLUDED_)
#define AFX_STFULLSCREEN_H__61332875_BE69_4783_AB30_CB75D099EB1C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


/////////////////////////////////////////////////////////////////////////////
// Commands that are handled by full screen view and dialog

// This command is sent to full screen dialog or view to switch full screen
// state (on/off)
#define ID_SWITCH_FULLSCREEN 24545


/////////////////////////////////////////////////////////////////////////////
// Full screen related messages

// This message is sent to full screen dialog or view to refresh full screen
// state and mode. It's necessary because this operation cannot be done during
// initialization and should be postponed.
#define WM_USER_REFRESH_FULLSCREEN (WM_USER+1)


/////////////////////////////////////////////////////////////////////////////
// Full screen mode flags

// All elements are shown. This mode corresponds to standard applications.
#define FSF_NORMAL 0x0000

// Command bar is hidden.
#define FSF_HIDECOMMANDBAR 0x0001

// Task bar is hidden.
#define FSF_HIDETASKBAR 0x0002

// SIP button is hidden.
#define FSF_HIDESIPBUTTON 0x0004

// Start icon is hidded.
#define FSF_HIDESTARTICON 0x0008

// All elements (command bar, task bar, SIP button and start icon) and hidden.
// This mode corresponds to full screen application.
#define FSF_FULLSCREEN 0x000F


/////////////////////////////////////////////////////////////////////////////
// Full screen icon positions

// Full screen icon in the top left corner.
#define FSI_TOPLEFT 1

// Full screen icon in the top right corner.
#define FSI_TOPRIGHT 2

// Full screen icon in the bottom left corner.
#define FSI_BOTTOMLEFT 3

// Full screen icon in the bottom right corner.
#define FSI_BOTTOMRIGHT 4


/////////////////////////////////////////////////////////////////////////////
// CSTFullScreen class that provides basic functionality for organizing 
// full screen behaviour. This class provides static functions and should
// not be instantiated.

class CSTFullScreen  
{
public:
	// Returns size of the device screen. For Pocket PC this size should
	// be 240x320;
	static CSize GetScreenSize();

	// Returns bounds rectangle of the window by full screen mode and 
	// state. If state is "full screen" (TRUE) and mode is FSF_FULLSCREEN 
	// then window size is equal to screen size. If some additional elements
	// should be shown (for example if mode hides only task bar but 
	// doesn't hide command bar) then window size is less then screen size
	// for the height of these elements.
	static CRect GetFullScreenWindowRect(DWORD dwFullScreenMode, BOOL bInFullSceenState);

	// Refreshes window "fullscreennees" depending on full screen mode 
	// and state.
	static BOOL RefreshFullScreen(CWnd *pWnd, HWND hCommandBar, DWORD dwFullScreenMode, BOOL bInFullSceenState);
};


/////////////////////////////////////////////////////////////////////////////
// CSTFullScreenIcon window that is a convinient button to switch full screen
// mode on/off.

class CSTFullScreenIcon : public CWnd
{
public:
	CSTFullScreenIcon();

public:
	virtual ~CSTFullScreenIcon();
	virtual BOOL Create (LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, UINT nPosition, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL); 

	// Inserts the icon into the given command bar. If the icon is already inserted
	// it will not be inserted again
	virtual void InsertIconInDialogToolbar(CCeCommandBar *pCb);

	// Sets icon position index. nIconPosition parameter should be on of
	// FSI_TOPLEFT, FSI_TOPRIGHT, FSI_BOTTOMLEFT or FSI_BOTTOMRIGHT.
	// Icon position depends on full screen mode and state of the parent
	// window.
	void SetIconPosition(UINT nIconPosition, DWORD dwFullScreenMode, BOOL bInFullSceenState);

	// Sets icon that will be shown in the full screen mode and will be inserted
	// into the parent command bar.
	void SetIcon(HICON hIcon);

protected:
	// Calculates bounding rectangle of the icon depending on m_nIconPosition
	virtual CRect GetIconRectangle(DWORD dwFullScreenMode, BOOL bInFullSceenState);

	//Index of icon position on the screen. Could be FSI_TOPLEFT, FSI_TOPRIGHT, FSI_BOTTOMLEFT or FSI_BOTTOMRIGHT 
	UINT m_nIconPosition;

	// Flag that shows whether the icon is added into the parent's toolbar or not
	BOOL m_bIsToolbarIconSet;

	// Icon that will be shown in the full screen mode and will be inserted
	// into the parent command bar
	HICON m_hIcon;

	// Image list of the command bar. Is used to change the icon if the icon changed.
	CCeCommandBar *m_pCommandBar;

	//{{AFX_MSG(CSTFullScreenIcon)
	afx_msg void OnPaint();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////
// CSTFullScreenDialogLite dialog is a base class for full screen dialogs that
// provides basic functionality to organize full screen dialog.

class CSTFullScreenDialogLite : public CDialog
{
// Construction
public:
	CSTFullScreenDialogLite(UINT nIDTemplate, CWnd* pParentWnd = NULL);

//Full screen related methods
public:
	// Switches full screen state. If the dialog was in full screen
	// state it changes to normal state and back. 
	// In normal state all additional elements are shown. In full screen 
	// state additional elements depends on full screen mode property.
	void SwitchFullScreenState();

	// Sets full screen state property. If bFullScreen is TRUE then
	// the dialog will be in full screen state. If FALSE in normal state.
	// In normal state all additional elements are shown. In full screen 
	// state additional elements depends on full screen mode property.
	// Call RefreshFullScreen to apply changes in the state. 
	void SetFullScreenState(BOOL bFullScreen);

	// Returns TRUE if the dialog is in the full screen state. Returns
	// FALSE if the dialog is in the normal state.
	BOOL GetFullScreenState();

	// Sets full screen mode. This property affects dialog appearance 
	// only in the full screen state. Full screen mode could be a
	// combination of FSF_NORMAL, FSF_HIDECOMMANDBAR, FSF_HIDETASKBAR, 
	// FSF_HIDESIPBUTTON and FSF_HIDESTARTICON constants.
	// Call RefreshFullScreen to apply changes in the mode. 
	void SetFullScreenMode(DWORD dwFullScreenMode);

	// Returns full screen mode.
	DWORD GetFullScreenMode();

	// This function is rewritten to fix "Today" bug. 
	// "Today" bugs: dialog based application is shown when you try to
	// call standard Today program.
	virtual int DoModal();

// Implementation
protected:
	virtual BOOL RefreshFullScreen();

	DWORD m_dwFullScreenMode;
	BOOL m_bInFullSceenState;

	// Generated message map functions
	//{{AFX_MSG(CSTFullScreenDialogLite)
	virtual BOOL OnInitDialog();
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
	afx_msg void OnFullScreenRefresh(WPARAM wParam, LPARAM lParam);
	afx_msg void OnFullScreenSwitch();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////
// CSTFullScreenViewLite window is a base class for full screen views that
// provides basic functionality to organize full screen dialog.

class CSTFullScreenViewLite : public CView
{
protected:
	CSTFullScreenViewLite();
	DECLARE_DYNCREATE(CSTFullScreenViewLite)

//Full screen related methods
public:
	// Switches full screen state. If the view was in full screen
	// state it changes to normal state and back. 
	// In normal state all additional elements are shown. In full screen 
	// state additional elements depends on full screen mode property.
	void SwitchFullScreenState();

	// Sets full screen state property. If bFullScreen is TRUE then
	// the view will be in full screen state. If FALSE in normal state.
	// In normal state all additional elements are shown. In full screen 
	// state additional elements depends on full screen mode property.
	// Call RefreshFullScreen to apply changes in the state 
	void SetFullScreenState(BOOL bFullScreen);

	// Returns TRUE if the view is in the full screen state. Returns
	// FALSE if the view is in the normal state.
	BOOL GetFullScreenState();

	// Sets full screen mode. This property affects view appearance 
	// only in the full screen state. Full screen mode could be a
	// combination of FSF_NORMAL, FSF_HIDECOMMANDBAR, FSF_HIDETASKBAR, 
	// FSF_HIDESIPBUTTON and FSF_HIDESTARTICON constants.
	// Call RefreshFullScreen to apply changes in the mode. 
	void SetFullScreenMode(DWORD dwFullScreenMode);

	// Returns full screen mode.
	DWORD GetFullScreenMode();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSTFullScreenViewLite)
	protected:
	virtual void OnDraw(CDC* pDC);
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	//}}AFX_VIRTUAL

protected:
	virtual ~CSTFullScreenViewLite();
	virtual BOOL RefreshFullScreen();

	DWORD m_dwFullScreenMode;
	BOOL m_bInFullSceenState;

	//{{AFX_MSG(CSTFullScreenViewLite)
	afx_msg void OnFullScreenRefresh(WPARAM wParam, LPARAM lParam);
	afx_msg void OnFullScreenSwitch();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////
// CSTFullScreenDialog dialog is a good base class to organize full function
// full screen dialog with full screen mode switch on/off icon.

class CSTFullScreenDialog : public CSTFullScreenDialogLite
{
public:
	CSTFullScreenDialog(UINT nIDTemplate, CWnd* pParentWnd = NULL);   // standard constructor

//Full screen related methods
public:
	// Sets icon image that will be shown on the full scren icon control
	void SetFullScreenIcon(HICON hIcon);

	// Sets position where full screen icon will be shown. Could be one of
	// FSI_TOPLEFT, FSI_TOPRIGHT, FSI_BOTTOMLEFT and FSI_BOTTOMRIGHT.
	void SetFullScreenIconPosition(UINT nFullScreenIconPosition);

	// Returns full screen icon control.
	CSTFullScreenIcon *GetFullScreenIcon();

	// Shows or hides the full screen icon in the full screen mode.
	void SetFullScreenIconVisible(BOOL bFullScreenIconVisible);

	// Returns TRUE if the full screen icon is visible in the full screen mode.
	// Returns FALSE if the full screen icon is hidden even in the full screen mode.
	BOOL GetFullScreenIconVisible();

// Implementation
protected:
	virtual BOOL RefreshFullScreen();
	CSTFullScreenIcon m_FullScreenIcon;
	UINT m_nFullScreenIconPosition;
	BOOL m_bFullScreenIconVisible;

	// Generated message map functions
	//{{AFX_MSG(CSTFullScreenDialog)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////
// CSTFullScreenview window is a good base class to organize full function
// full screen view with full screen mode switch on/off icon.

class CSTFullScreenView : public CSTFullScreenViewLite
{
protected:
	CSTFullScreenView();
	DECLARE_DYNCREATE(CSTFullScreenView)

// Operations
public:
	// Sets icon image that will be shown on the full scren icon control
	void SetFullScreenIcon(HICON hIcon);

	// Sets position where full screen icon will be shown. Could be one of
	// FSI_TOPLEFT, FSI_TOPRIGHT, FSI_BOTTOMLEFT and FSI_BOTTOMRIGHT.
	void SetFullScreenIconPosition(UINT nFullScreenIconPosition);

	// Returns full screen icon control.
	CSTFullScreenIcon *GetFullScreenIcon();

	// Shows or hides the full screen icon in the full screen mode.
	void SetFullScreenIconVisible(BOOL bFullScreenIconVisible);

	// Returns TRUE if the full screen icon is visible in the full screen mode.
	// Returns FALSE if the full screen icon is hidden even in the full screen mode.
	BOOL GetFullScreenIconVisible();

	//{{AFX_VIRTUAL(CSTFullScreenView)
	protected:
	virtual void OnDraw(CDC* pDC);
	//}}AFX_VIRTUAL

protected:
	virtual ~CSTFullScreenView();
	virtual BOOL RefreshFullScreen();
	CSTFullScreenIcon m_FullScreenIcon;
	UINT m_nFullScreenIconPosition;
	BOOL m_bFullScreenIconVisible;

	//{{AFX_MSG(CSTFullScreenView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


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

#endif // !defined(AFX_STFULLSCREEN_H__61332875_BE69_4783_AB30_CB75D099EB1C__INCLUDED_)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 不卡一二三区首页| 亚洲一区二区三区影院| 久久精品一区二区三区不卡牛牛| 99久久er热在这里只有精品15| 美美哒免费高清在线观看视频一区二区 | 欧美久久久久免费| 成人av免费在线播放| 久久99久国产精品黄毛片色诱| 亚洲综合图片区| 国产精品不卡一区| 国产欧美一区二区三区在线看蜜臀 | 亚洲免费av在线| 国产女主播视频一区二区| 秋霞电影一区二区| 99久久er热在这里只有精品15 | 美女诱惑一区二区| 亚洲一区二区3| 亚洲男人的天堂在线观看| 欧美激情一区二区三区蜜桃视频| 日韩欧美激情在线| 欧美伦理电影网| 欧美日韩一区二区三区四区| 色又黄又爽网站www久久| 国产不卡免费视频| 国产传媒久久文化传媒| 久久精品72免费观看| 日韩福利电影在线| 亚洲国产一区二区视频| 一区二区三区久久| 樱桃视频在线观看一区| 一区二区高清视频在线观看| 最新高清无码专区| 亚洲青青青在线视频| 亚洲天堂免费看| 亚洲欧美日韩成人高清在线一区| 亚洲国产精品成人综合色在线婷婷 | 久久精品国产**网站演员| 亚洲高清在线精品| 亚洲福利一区二区三区| 亚洲一区二区三区四区在线观看| 亚洲天堂a在线| 亚洲精品v日韩精品| 亚洲精品免费播放| 亚洲国产精品自拍| 丝袜美腿亚洲色图| 精品一区二区综合| 国产成人在线视频免费播放| 成人性色生活片免费看爆迷你毛片| 在线电影一区二区三区| 日韩欧美一级片| 亚洲精品一区二区三区精华液 | 精品国产乱码久久久久久浪潮| 欧美高清一级片在线| 精品久久久久久综合日本欧美| 久久男人中文字幕资源站| 欧美激情一区在线观看| 最新久久zyz资源站| 亚洲国产日韩在线一区模特| 视频一区二区不卡| 国产一区二区在线免费观看| 国产福利一区二区三区视频在线| 不卡一卡二卡三乱码免费网站| 在线免费观看一区| 欧美一区二区三区婷婷月色| 久久久久久免费网| 亚洲另类春色国产| 免费成人深夜小野草| 风间由美一区二区三区在线观看| 99久久综合精品| 8x福利精品第一导航| 久久亚洲精品国产精品紫薇| 亚洲欧洲成人自拍| 日韩精品乱码av一区二区| 国产盗摄视频一区二区三区| 色综合久久综合网| 精品国产一区二区三区四区四| 亚洲国产精品国自产拍av| 亚洲6080在线| 国产成人8x视频一区二区| 在线一区二区三区做爰视频网站| 欧美一区二区三区在线观看| 久久精品亚洲乱码伦伦中文| 亚洲一区二区三区四区五区黄| 久久99久久久欧美国产| 色综合久久中文字幕| 欧美电影免费观看高清完整版在| 亚洲人成伊人成综合网小说| 久久不见久久见免费视频1| 色婷婷精品久久二区二区蜜臂av| 精品粉嫩aⅴ一区二区三区四区| 亚洲人123区| 国产成人三级在线观看| 欧美精选午夜久久久乱码6080| 久久久www成人免费毛片麻豆| 亚洲国产精品精华液网站| 成人午夜激情视频| 精品日韩一区二区三区| 亚洲国产美国国产综合一区二区| 丁香啪啪综合成人亚洲小说 | 国产日韩精品一区二区三区在线| 亚洲一二三区在线观看| fc2成人免费人成在线观看播放| 日韩精品中文字幕在线一区| 亚洲一区电影777| 99久久99精品久久久久久 | 2014亚洲片线观看视频免费| 亚洲欧美激情视频在线观看一区二区三区 | 一区二区三区在线观看国产| 国产精品影视在线观看| 欧美一级艳片视频免费观看| 综合在线观看色| 波多野结衣欧美| 国产拍揄自揄精品视频麻豆| 久久国产精品色| 亚洲激情自拍偷拍| 奇米888四色在线精品| 久久久精品影视| 久久国产生活片100| 国产精品乱码人人做人人爱| 欧洲另类一二三四区| 亚洲综合色在线| 欧美军同video69gay| 久久精品国产澳门| 在线播放中文字幕一区| 久久精品国产99国产精品| 26uuu亚洲| 91伊人久久大香线蕉| 亚洲国产一区二区在线播放| 欧美日韩精品免费| av一本久道久久综合久久鬼色| 岛国av在线一区| 99久久99久久综合| 日韩电影网1区2区| 欧美精选一区二区| 午夜国产精品影院在线观看| 欧美亚日韩国产aⅴ精品中极品| 1区2区3区欧美| av成人老司机| 亚洲欧美韩国综合色| 色婷婷综合久久久久中文一区二区 | 九一久久久久久| 欧美v日韩v国产v| 国产精品一区专区| 欧美国产一区二区在线观看 | 337p日本欧洲亚洲大胆精品| 免费观看30秒视频久久| 欧美大胆人体bbbb| 国产精品一区2区| 国产精品免费看片| 色天天综合色天天久久| 丝袜美腿亚洲色图| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 91电影在线观看| 亚洲.国产.中文慕字在线| 欧美一区二区三区色| 国产一区二区精品在线观看| 国产精品久久毛片| 欧美三级中文字幕在线观看| 免费高清不卡av| 国产亚洲精品福利| 91视频精品在这里| 天堂一区二区在线免费观看| 精品国产一区二区三区不卡| 国产精品1024久久| 亚洲精品福利视频网站| 日韩免费高清av| 不卡的av在线播放| 亚洲不卡一区二区三区| 久久女同性恋中文字幕| 91在线一区二区| 日本成人在线视频网站| 国产精品视频免费| 欧美性猛交xxxxxxxx| 国产精品一品二品| 亚洲欧美激情视频在线观看一区二区三区 | 国产成人av电影| 亚洲国产一区在线观看| 视频一区免费在线观看| 久久欧美一区二区| 欧美日韩在线免费视频| 国产精品一二二区| 亚洲成av人片一区二区梦乃 | 日本一区二区三区在线观看| 色综合天天综合网天天看片| 三级精品在线观看| 国产精品久久久久久久久搜平片| 欧美日韩免费高清一区色橹橹| 国产激情一区二区三区桃花岛亚洲| 亚洲综合免费观看高清完整版 | 亚洲欧洲中文日韩久久av乱码| 欧美一区二区三区公司| 91香蕉视频在线| 国产在线看一区| 亚洲高清视频的网址| 亚洲欧洲成人av每日更新| 亚洲精品一区二区三区蜜桃下载| 欧美中文字幕一区二区三区| 丁香桃色午夜亚洲一区二区三区| 欧美aa在线视频|