Files
AccompanyCube/CommonListBoxUnit.h
T
2026-06-13 00:10:11 +08:00

35 lines
843 B
C++

//---------------------------------------------------------------------------
#ifndef CommonListBoxUnitH
#define CommonListBoxUnitH
#include "SkinListBoxUnit.h"
#include <Vcl.AppEvnts.hpp>
namespace CommonListBoxUnit
{
//---------------------------------------------------------------------------
class TListBox : public TSkinListBox
{
private:
TBitmap *m_pNormal, *m_pHover;
TFont *m_pFntText;
TApplicationEvents *ApplicationEvents;
void __fastcall DoHandleMessage(MSG &Msg, bool &Handled);
protected:
virtual void __fastcall DrawItem(int Index, const System::Types::TRect &Rect, Winapi::Windows::TOwnerDrawState State);
public:
__fastcall virtual TListBox(System::Classes::TComponent* AOwner);
__fastcall ~TListBox();
void __fastcall Show(void);
void __fastcall Hide(void);
};
}
using namespace CommonListBoxUnit;
#endif