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

35 lines
974 B
C++

//---------------------------------------------------------------------------
#ifndef UpdateListBoxUnitH
#define UpdateListBoxUnitH
//---------------------------------------------------------------------------
#include "SkinListBoxUnit.h"
//---------------------------------------------------------------------------
namespace UpdateListBoxUnit
{
//---------------------------------------------------------------------------
class TListBox : public TSkinListBox
{
private:
TBitmap *m_imgBackground;
TFont * m_pFntText;
protected:
virtual void __fastcall DrawItem(int Index, const System::Types::TRect &Rect, Winapi::Windows::TOwnerDrawState State);
MESSAGE void __fastcall WMPaint(Winapi::Messages::TWMPaint &Message);
BEGIN_MESSAGE_MAP
MESSAGE_HANDLER(WM_PAINT, TWMPaint, WMPaint)
END_MESSAGE_MAP(TSkinListBox)
public:
__fastcall virtual TListBox(System::Classes::TComponent* AOwner);
__fastcall ~TListBox();
};
}
using namespace UpdateListBoxUnit;
#endif