//--------------------------------------------------------------------------- #ifndef CommonListBoxUnitH #define CommonListBoxUnitH #include "SkinListBoxUnit.h" #include 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