
//////////////////////////scbarg.h////////////////////
//Download by
#if !defined(__SCBARG_H__)
#define __SCBARG_H__
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////
// CSCBButton (button info) helper class
class CSCBButton
{
public:
CSCBButton();
void Move(CPoint ptTo) {ptOrg = ptTo; };
CRect GetRect() { return CRect(ptOrg, CSize(13, 13)); };
void Paint(CDC* pDC);
BOOL bPushed;
BOOL bRaised;
protected:
CPoint ptOrg;
};
/////////////////////////////////////////////////////////////////////////
// CSizingControlBar control bar
#ifndef baseCCoolBar
#define baseCCoolBar CSizingControlBar
#endif
class CCoolBar : public baseCCoolBar
{
DECLARE_DYNAMIC(CCoolBar);
// Construction
public:
CCoolBar();
// Attributes
public:
virtual BOOL HasGripper() const;
// Operations
public:
// Overridables
virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
virtual BOOL Create(LPCTSTR lpszWindowName, CWnd* pParentWnd,
CSize sizeDefault, BOOL bHasGripper,
UINT nID, DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_TOP);
virtual BOOL Create(LPCTSTR lpszWindowName, CWnd* pParentWnd,
UINT nID, DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_TOP);
// Overrides
public:
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCoolBar)
//}}AFX_VIRTUAL
// Implementation
public:
void SetNotifyWindow(HWND hNotifyWnd);
HWND GetNotifyWindow() { return m_hNotifyWnd; };
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-36846-1.html
确实帅
你穿的鞋