📄 scbarcf.h
字号:
/////////////////////////////////////////////////////////////////////////
//
// CSizingControlBarCF Version 2.3
//
// Created: Dec 21, 1998 Last Modified: Dec 12, 1999
//
// See the official page at www.datamekanix.com for documentation and
// the latest news.
//
/////////////////////////////////////////////////////////////////////////
// Copyright (C) 1998, 1999 by Cristi Posea. All rights reserved.
//
// This code is free for personal and commercial use, providing this
// notice remains intact in the source files and all eventual changes are
// clearly marked with comments.
//
// You must obtain the author's consent before you can include this code
// in a software library.
//
// No warrantee of any kind, express or implied, is included with this
// software; use at your own risk, responsibility for damages (if any) to
// anyone resulting from the use of this software rests entirely with the
// user.
//
// Send bug reports, bug fixes, enhancements, requests, flames, etc. to:
//
// cristi@datamekanix.com
//
/////////////////////////////////////////////////////////////////////////
#if !defined(SCBARCF_H_INCLUDED)
#define SCBARCF_H_INCLUDED
#include "sizecbar.h"
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// scbarcf.h : header file
//
/////////////////////////////////////////////////////////////////////////
// CSizingControlBarCF
#ifndef baseCSizingControlBarCF
#define baseCSizingControlBarCF CSizingControlBar
#endif
#define SCBS_ACTIVE 0x00200000 // a child has focus
class CSizingControlBarCF : public baseCSizingControlBarCF
{
DECLARE_DYNAMIC(CSizingControlBarCF)
// Construction
protected:
CSizingControlBarCF();
// Overridables
virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
// Implementation
protected:
// implementation helpers
virtual void NcPaintGripper(CDC* pDC, CRect rcClient);
protected:
CString m_sFontFace;
// Generated message map functions
protected:
//{{AFX_MSG(CSizingControlBarCF)
//}}AFX_MSG
afx_msg LRESULT OnSetText(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////
#endif // !defined(SCBARCF_H_INCLUDED)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -