📄 crebar.h
字号:
/*____________________________________________________________________________
Copyright (C) 2002 PGP Corporation
All rights reserved.
$Id: CRebar.h,v 1.3 2002/08/06 20:10:46 dallen Exp $
____________________________________________________________________________*/
#ifndef Included_CRebar_h // [
#define Included_CRebar_h
#include "pgpClassesConfig.h"
#include <commctrl.h>
#include "UMath.h"
#include "CWindow.h"
_PGP_BEGIN
// Class CRebar
class CRebar : public CWindow
{
public:
CRebar() { }
~CRebar() { }
PGPInt32 InsertBand(PGPInt32 index, const REBARBANDINFO& bandInfo)
{
return SendMessage(RB_INSERTBAND, index,
reinterpret_cast<LPARAM>(&bandInfo));
}
PGPInt32 SetBandInfo(PGPUInt32 index, const REBARBANDINFO& bandInfo)
{
return SendMessage(RB_SETBANDINFO, index,
reinterpret_cast<LPARAM>(&bandInfo));
}
PGPInt32 SetBarInfo(const REBARINFO& barInfo)
{
return SendMessage(RB_SETBARINFO, 0,
reinterpret_cast<LPARAM>(&barInfo));
}
void Create(HWND parent, PGPUInt32 id, PGPUInt32 style,
PGPInt32 xOffset = 0, PGPInt32 yOffset = 0, PGPInt32 width = 0,
PGPInt32 height = 0);
};
_PGP_END
#endif // ] Included_CRebar_h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -