?? suilistbox.hpp
字號:
// CodeGear C++Builder
// Copyright (c) 1995, 2008 by CodeGear
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Suilistbox.pas' rev: 20.00
#ifndef SuilistboxHPP
#define SuilistboxHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp> // Pascal unit
#include <Sysinit.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Stdctrls.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Filectrl.hpp> // Pascal unit
#include <Sysutils.hpp> // Pascal unit
#include <Suiscrollbar.hpp> // Pascal unit
#include <Suithemes.hpp> // Pascal unit
#include <Suimgr.hpp> // Pascal unit
#include <Sui2define.hpp> // Pascal unit
#include <Menus.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Suilistbox
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TsuiListBox;
class PASCALIMPLEMENTATION TsuiListBox : public Stdctrls::TCustomListBox
{
typedef Stdctrls::TCustomListBox inherited;
private:
Graphics::TColor m_BorderColor;
Suithemes::TsuiUIStyle m_UIStyle;
Suimgr::TsuiFileTheme* m_FileTheme;
Suiscrollbar::TsuiScrollBar* m_VScrollBar;
bool m_MouseDown;
bool m_SelfChanging;
void __fastcall SetVScrollBar(const Suiscrollbar::TsuiScrollBar* Value);
void __fastcall OnVScrollBarChange(System::TObject* Sender);
void __fastcall UpdateScrollBars(void);
void __fastcall UpdateScrollBarsPos(void);
HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall CMVisibleChanged(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMSIZE(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMMOVE(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMMOUSEWHEEL(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMLBUTTONDOWN(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMLButtonUp(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMKeyDown(Messages::TWMKey &Message);
MESSAGE void __fastcall LBADDSTRING(Messages::TMessage &Msg);
MESSAGE void __fastcall LBDELETESTRING(Messages::TMessage &Msg);
MESSAGE void __fastcall LBINSERTSTRING(Messages::TMessage &Msg);
MESSAGE void __fastcall LBSETCOUNT(Messages::TMessage &Msg);
MESSAGE void __fastcall LBNSELCHANGE(Messages::TMessage &Msg);
MESSAGE void __fastcall LBNSETFOCUS(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMDELETEITEM(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMMOUSEMOVE(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMVSCROLL(Messages::TWMScroll &Message);
HIDESBASE MESSAGE void __fastcall WMHSCROLL(Messages::TWMScroll &Message);
HIDESBASE MESSAGE void __fastcall WMPAINT(Messages::TMessage &Msg);
MESSAGE void __fastcall WMEARSEBKGND(Messages::TMessage &Msg);
void __fastcall SetBorderColor(const Graphics::TColor Value);
void __fastcall SetFileTheme(const Suimgr::TsuiFileTheme* Value);
void __fastcall SetUIStyle(const Suithemes::TsuiUIStyle Value);
bool FShowFocusRect;
Classes::TAlignment FAlignment;
Graphics::TColor FSelectedTextColor;
Graphics::TColor FSelectedColor;
Graphics::TColor FDisabledTextColor;
HIDESBASE MESSAGE void __fastcall CNDrawItem(Messages::TWMDrawItem &Msg);
void __fastcall SetAlignment(const Classes::TAlignment Value);
void __fastcall SetSelectedColor(const Graphics::TColor Value);
void __fastcall SetSelectedTextColor(const Graphics::TColor Value);
void __fastcall SetShowFocusRect(const bool Value);
void __fastcall SetDisabledTextColor(const Graphics::TColor Value);
protected:
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
virtual void __fastcall DrawItem(int Index, const Types::TRect &Rect, Windows::TOwnerDrawState State);
virtual void __fastcall MeasureItem(int Index, int &Height);
virtual void __fastcall Loaded(void);
public:
__fastcall virtual TsuiListBox(Classes::TComponent* AOwner);
int __fastcall MeasureString(const System::UnicodeString S, int WidthAvail);
virtual void __fastcall DefaultDrawItem(int Index, const Types::TRect &Rect, Windows::TOwnerDrawState State);
__published:
__property Suimgr::TsuiFileTheme* FileTheme = {read=m_FileTheme, write=SetFileTheme};
__property Suithemes::TsuiUIStyle UIStyle = {read=m_UIStyle, write=SetUIStyle, nodefault};
__property Graphics::TColor BorderColor = {read=m_BorderColor, write=SetBorderColor, nodefault};
__property Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};
__property Graphics::TColor SelectedColor = {read=FSelectedColor, write=SetSelectedColor, default=-16777203};
__property Graphics::TColor SelectedTextColor = {read=FSelectedTextColor, write=SetSelectedTextColor, default=-16777202};
__property Graphics::TColor DisabledTextColor = {read=FDisabledTextColor, write=SetDisabledTextColor, default=-16777199};
__property bool ShowFocusRect = {read=FShowFocusRect, write=SetShowFocusRect, default=1};
__property Suiscrollbar::TsuiScrollBar* VScrollBar = {read=m_VScrollBar, write=SetVScrollBar};
__property Style = {default=0};
__property Align = {default=0};
__property Anchors = {default=3};
__property BiDiMode;
__property Color = {default=-16777211};
__property Columns = {default=0};
__property Constraints;
__property Ctl3D;
__property DragCursor = {default=-12};
__property DragKind = {default=0};
__property DragMode = {default=0};
__property Enabled = {default=1};
__property ExtendedSelect = {default=1};
__property Font;
__property ImeMode = {default=3};
__property ImeName;
__property IntegralHeight = {default=0};
__property ItemHeight;
__property Items;
__property MultiSelect = {default=0};
__property ParentBiDiMode = {default=1};
__property ParentColor = {default=0};
__property ParentCtl3D = {default=1};
__property ParentFont = {default=1};
__property ParentShowHint = {default=1};
__property PopupMenu;
__property ShowHint;
__property Sorted = {default=0};
__property TabOrder = {default=-1};
__property TabStop = {default=1};
__property TabWidth = {default=0};
__property Visible = {default=1};
__property OnClick;
__property OnData;
__property OnDataFind;
__property OnDataObject;
__property OnDblClick;
__property OnDragDrop;
__property OnDragOver;
__property OnDrawItem;
__property OnEndDock;
__property OnEndDrag;
__property OnEnter;
__property OnExit;
__property OnKeyDown;
__property OnKeyPress;
__property OnKeyUp;
__property OnMeasureItem;
__property OnMouseDown;
__property OnMouseMove;
__property OnMouseUp;
__property OnStartDock;
__property OnStartDrag;
public:
/* TCustomListBox.Destroy */ inline __fastcall virtual ~TsuiListBox(void) { }
public:
/* TWinControl.CreateParented */ inline __fastcall TsuiListBox(HWND ParentWindow) : Stdctrls::TCustomListBox(ParentWindow) { }
};
class DELPHICLASS TsuiDirectoryListBox;
class PASCALIMPLEMENTATION TsuiDirectoryListBox : public Filectrl::TDirectoryListBox
{
typedef Filectrl::TDirectoryListBox inherited;
private:
Graphics::TColor m_BorderColor;
Suithemes::TsuiUIStyle m_UIStyle;
Suimgr::TsuiFileTheme* m_FileTheme;
Suiscrollbar::TsuiScrollBar* m_VScrollBar;
bool m_MouseDown;
bool m_SelfChanging;
void __fastcall SetVScrollBar(const Suiscrollbar::TsuiScrollBar* Value);
void __fastcall OnVScrollBarChange(System::TObject* Sender);
void __fastcall UpdateScrollBars(void);
void __fastcall UpdateScrollBarsPos(void);
HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall CMVisibleChanged(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMSIZE(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMMOVE(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMMOUSEWHEEL(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMLBUTTONDOWN(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMLButtonUp(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMKeyDown(Messages::TWMKey &Message);
MESSAGE void __fastcall LBADDSTRING(Messages::TMessage &Msg);
MESSAGE void __fastcall LBDELETESTRING(Messages::TMessage &Msg);
MESSAGE void __fastcall LBINSERTSTRING(Messages::TMessage &Msg);
MESSAGE void __fastcall LBSETCOUNT(Messages::TMessage &Msg);
MESSAGE void __fastcall LBNSELCHANGE(Messages::TMessage &Msg);
MESSAGE void __fastcall LBNSETFOCUS(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMDELETEITEM(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMMOUSEMOVE(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMVSCROLL(Messages::TWMScroll &Message);
HIDESBASE MESSAGE void __fastcall WMHSCROLL(Messages::TWMScroll &Message);
HIDESBASE MESSAGE void __fastcall WMPAINT(Messages::TMessage &Msg);
MESSAGE void __fastcall WMEARSEBKGND(Messages::TMessage &Msg);
void __fastcall SetBorderColor(const Graphics::TColor Value);
void __fastcall SetFileTheme(const Suimgr::TsuiFileTheme* Value);
void __fastcall SetUIStyle(const Suithemes::TsuiUIStyle Value);
protected:
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
virtual void __fastcall Loaded(void);
public:
__fastcall virtual TsuiDirectoryListBox(Classes::TComponent* AOwner);
__published:
__property Suimgr::TsuiFileTheme* FileTheme = {read=m_FileTheme, write=SetFileTheme};
__property Suithemes::TsuiUIStyle UIStyle = {read=m_UIStyle, write=SetUIStyle, nodefault};
__property Graphics::TColor BorderColor = {read=m_BorderColor, write=SetBorderColor, nodefault};
__property Suiscrollbar::TsuiScrollBar* VScrollBar = {read=m_VScrollBar, write=SetVScrollBar};
public:
/* TDirectoryListBox.Destroy */ inline __fastcall virtual ~TsuiDirectoryListBox(void) { }
public:
/* TWinControl.CreateParented */ inline __fastcall TsuiDirectoryListBox(HWND ParentWindow) : Filectrl::TDirectoryListBox(ParentWindow) { }
};
class DELPHICLASS TsuiFileListBox;
class PASCALIMPLEMENTATION TsuiFileListBox : public Filectrl::TFileListBox
{
typedef Filectrl::TFileListBox inherited;
private:
Graphics::TColor m_BorderColor;
Suithemes::TsuiUIStyle m_UIStyle;
Suimgr::TsuiFileTheme* m_FileTheme;
Suiscrollbar::TsuiScrollBar* m_VScrollBar;
bool m_MouseDown;
bool m_SelfChanging;
void __fastcall SetVScrollBar(const Suiscrollbar::TsuiScrollBar* Value);
void __fastcall OnVScrollBarChange(System::TObject* Sender);
void __fastcall UpdateScrollBars(void);
void __fastcall UpdateScrollBarsPos(void);
HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall CMVisibleChanged(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMSIZE(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMMOVE(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMMOUSEWHEEL(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMLBUTTONDOWN(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMLButtonUp(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMKeyDown(Messages::TWMKey &Message);
MESSAGE void __fastcall LBADDSTRING(Messages::TMessage &Msg);
MESSAGE void __fastcall LBDELETESTRING(Messages::TMessage &Msg);
MESSAGE void __fastcall LBINSERTSTRING(Messages::TMessage &Msg);
MESSAGE void __fastcall LBSETCOUNT(Messages::TMessage &Msg);
MESSAGE void __fastcall LBNSELCHANGE(Messages::TMessage &Msg);
MESSAGE void __fastcall LBNSETFOCUS(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMDELETEITEM(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMMOUSEMOVE(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMVSCROLL(Messages::TWMScroll &Message);
HIDESBASE MESSAGE void __fastcall WMHSCROLL(Messages::TWMScroll &Message);
HIDESBASE MESSAGE void __fastcall WMPAINT(Messages::TMessage &Msg);
MESSAGE void __fastcall WMEARSEBKGND(Messages::TMessage &Msg);
void __fastcall SetBorderColor(const Graphics::TColor Value);
void __fastcall SetFileTheme(const Suimgr::TsuiFileTheme* Value);
void __fastcall SetUIStyle(const Suithemes::TsuiUIStyle Value);
protected:
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
virtual void __fastcall Loaded(void);
public:
__fastcall virtual TsuiFileListBox(Classes::TComponent* AOwner);
__published:
__property Suimgr::TsuiFileTheme* FileTheme = {read=m_FileTheme, write=SetFileTheme};
__property Suithemes::TsuiUIStyle UIStyle = {read=m_UIStyle, write=SetUIStyle, nodefault};
__property Graphics::TColor BorderColor = {read=m_BorderColor, write=SetBorderColor, nodefault};
__property Suiscrollbar::TsuiScrollBar* VScrollBar = {read=m_VScrollBar, write=SetVScrollBar};
public:
/* TFileListBox.Destroy */ inline __fastcall virtual ~TsuiFileListBox(void) { }
public:
/* TWinControl.CreateParented */ inline __fastcall TsuiFileListBox(HWND ParentWindow) : Filectrl::TFileListBox(ParentWindow) { }
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Suilistbox */
using namespace Suilistbox;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // SuilistboxHPP
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -