📄 suppressstyle.h
字号:
#ifndef SUPPRESS_STYLE_H#define SUPPRESS_STYLE_H/////////////////////////////// Objects of this class will suppress a window style// from construction until destruction.//// Author: Dave Lorde (dlorde@cix.compulink.co.uk)//// Copyright January 2000//class RxSuppressStyle{private: DWORD m_Style; DWORD m_OldStyle; HWND m_hWnd;public: RxSuppressStyle(HWND hWnd, DWORD style) :m_hWnd(hWnd), m_Style(style), m_OldStyle(0) { m_OldStyle = ::GetWindowLong(m_hWnd, GWL_STYLE); if (m_OldStyle & m_Style) SetWindowLong(m_hWnd, GWL_STYLE, m_OldStyle & ~m_Style); } ~RxSuppressStyle() { if (m_OldStyle & m_Style) SetWindowLong(m_hWnd, GWL_STYLE, m_OldStyle); }};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -