📄 colorcombo.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'colorcombo.pas' rev: 5.00
#ifndef colorcomboHPP
#define colorcomboHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp> // Pascal unit
#include <StdCtrls.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Colorcombo
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TColorCombo;
class PASCALIMPLEMENTATION TColorCombo : public Stdctrls::TCustomComboBox
{
typedef Stdctrls::TCustomComboBox inherited;
private:
Graphics::TColor __fastcall GetSelection(void);
void __fastcall SetSelection(Graphics::TColor Value);
protected:
virtual void __fastcall SetStyle(Stdctrls::TComboBoxStyle Value);
virtual void __fastcall DrawItem(int Index, const Windows::TRect &Rect, Windows::TOwnerDrawState State
);
virtual void __fastcall CreateWnd(void);
public:
__fastcall virtual TColorCombo(Classes::TComponent* AOwner);
virtual void __fastcall SetColorList(void);
__property Graphics::TColor Selection = {read=GetSelection, write=SetSelection, nodefault};
__published:
__property Color ;
__property Ctl3D ;
__property DragMode ;
__property DragCursor ;
__property DropDownCount ;
__property Enabled ;
__property Font ;
__property ItemHeight ;
__property Items ;
__property MaxLength ;
__property ParentColor ;
__property ParentCtl3D ;
__property ParentFont ;
__property ParentShowHint ;
__property PopupMenu ;
__property ShowHint ;
__property Sorted ;
__property TabOrder ;
__property TabStop ;
__property Text ;
__property Visible ;
__property OnChange ;
__property OnClick ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnDrawItem ;
__property OnDropDown ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property OnKeyDown ;
__property OnKeyPress ;
__property OnKeyUp ;
__property OnMeasureItem ;
__property OnStartDrag ;
public:
#pragma option push -w-inl
/* TCustomComboBox.Destroy */ inline __fastcall virtual ~TColorCombo(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TColorCombo(HWND ParentWindow) : Stdctrls::TCustomComboBox(
ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall Register(void);
} /* namespace Colorcombo */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Colorcombo;
#endif
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // colorcombo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -