Location:
Search - OnGetMinMaxInfo
Search list
Description: 为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.
Platform: |
Size: 4499 |
Author: a |
Hits:
Description: 为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.
Platform: |
Size: 4096 |
Author: a |
Hits:
Description: 组合框控件重绘,带图标和背景色有很大的重绘空间,可以帮助你完成组合框的重绘工作-These messages are handled by default by the OnNcCreate, OnCreate, OnNcCalcSize, and OnGetMinMaxInfo member functions in the CWnd base class. To extend the default message handling, derive a class from CComboBox, add a message map to the new class, and override the preceding message-handler member functions. Override OnCreate, for example, to perform needed initialization for a new class.
Platform: |
Size: 74752 |
Author: 邬影风 |
Hits: