文件名称:fullScreen_program
介绍说明--下载内容均来自于网络,请自行研究使用
为MFC应用程序添加全屏幕显示功能
部分代码:
成员变量:
BOOL m_bFullScreen //全屏幕显示标志
CRect m_FullScreenWindowRect //全屏幕显示窗口Rect
WINDOWPLACEMENT m_wpPrev //用于保存正常视图时的窗口位置信息
CToolBar * m_wndFullScreenBar //全屏幕显示时的浮动工具条
成员函数:
void OnMenuFullscreen() //全屏幕显示的处理函数
void OnGetMinMaxInfo() //捕获WM_GETMINMAXINFO消息以便允许你增加窗口大小
void OnUpdateViewFullScreen() //更新“全屏幕显示”菜单的状态
省略-MFC applications to add full-screen display of code : member variables : BOOL m_bFullScreen// Full screen display signs CRect m_FullScr eenWindowRect// Full screen display window Rect WINDOWPLACEMEN T m_wpPrev// View for the preservation of the normal window of information CToolBar* m_wn dFullScreenBar// full-screen display of floating tool for members of the function : OnMenuFullscreen void ()// Full screen showed that the processing function void On GetMinMaxInfo ()// catch information to allow WM_GETMINMAXINFO Xu you increase the window size void OnUpdateViewFullScreen ()// updated "Full screen shows that the" state of the menu omitted.
部分代码:
成员变量:
BOOL m_bFullScreen //全屏幕显示标志
CRect m_FullScreenWindowRect //全屏幕显示窗口Rect
WINDOWPLACEMENT m_wpPrev //用于保存正常视图时的窗口位置信息
CToolBar * m_wndFullScreenBar //全屏幕显示时的浮动工具条
成员函数:
void OnMenuFullscreen() //全屏幕显示的处理函数
void OnGetMinMaxInfo() //捕获WM_GETMINMAXINFO消息以便允许你增加窗口大小
void OnUpdateViewFullScreen() //更新“全屏幕显示”菜单的状态
省略-MFC applications to add full-screen display of code : member variables : BOOL m_bFullScreen// Full screen display signs CRect m_FullScr eenWindowRect// Full screen display window Rect WINDOWPLACEMEN T m_wpPrev// View for the preservation of the normal window of information CToolBar* m_wn dFullScreenBar// full-screen display of floating tool for members of the function : OnMenuFullscreen void ()// Full screen showed that the processing function void On GetMinMaxInfo ()// catch information to allow WM_GETMINMAXINFO Xu you increase the window size void OnUpdateViewFullScreen ()// updated "Full screen shows that the" state of the menu omitted.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
为MFC应用程序添加全屏幕显示功能.txt