fillsolidrect_onerasebkgnd 重影_bitblt函数(2)

电脑杂谈  发布时间:2017-03-10 14:21:13  来源:网络整理

virtual ~CCoolBar();

protected:

// implementation helpers

virtual void NcPaintGripper(CDC* pDC, CRect rcClient);

virtual void NcCalcClient(LPRECT pRc, UINT nDockBarID);

protected:

intm_cyGripper;

CSCBButton m_biHide;

BOOL m_bActive; // a child has focus

CString m_sFontFace;

HWND m_hNotifyWnd; // 消息通知窗口,默认为父窗口

// Generated message map functions

protected:

//{{AFX_MSG(CCoolBar)

afx_msg UINT OnNcHitTest(CPoint point);

afx_msg void OnNcLButtonUp(UINT nHitTest, CPoint point);

afx_msg LRESULT OnSetText(WPARAM wParam, LPARAM lParam);

afx_msg BOOL OnNotify( WPARAM wParam, LPARAM lParam, LRESULT* pResult );

//}}AFX_MSG

DECLARE_MESSAGE_MAP()

};

#endif // !defined(__SCBARG_H__)

////////////////////////////////////////////scbarg.cpp/////////////////////////////////

//Download by

// sizecbar.cpp : implementation file

//

#include "stdafx.h"

#ifdef _DEBUG

#define new DEBUG_NEW

#undef THIS_FILE

static char THIS_FILE[] = __FILE__;

#endif

int CALLBACK EnumFontFamProc(ENUMLOGFONT FAR *lpelf,

NEWTEXTMETRIC FAR *lpntm,

int FontType,

LPARAM lParam)

{

UNUSED_ALWAYS(lpelf);

UNUSED_ALWAYS(lpntm);

UNUSED_ALWAYS(FontType);

UNUSED_ALWAYS(lParam);

return 0;

}

/////////////////////////////////////////////////////////////////////////

// CCoolBar

IMPLEMENT_DYNAMIC(CCoolBar, baseCCoolBar);

CCoolBar::CCoolBar()

{

m_hNotifyWnd = NULL;

m_cyGripper = 12;

SetSCBStyle(GetSCBStyle() | SCBS_SIZECHILD);

m_bActive = FALSE;

CDC dc;

dc.CreateCompatibleDC(NULL);

m_sFontFace = (::EnumFontFamilies(dc.m_hDC,


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-36846-2.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 王育敏
      王育敏

      我赞成我们不和任何国家搞对抗而广泛合作的外交政策

    热点图片
    拼命载入中...