// CodeGear C++Builder
// Copyright (c) 1995, 2009 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Popuplb.pas' rev: 21.00

#ifndef PopuplbHPP
#define PopuplbHPP

#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 <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Popuplb
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TPopupListBox;
class PASCALIMPLEMENTATION TPopupListBox : public Stdctrls::TListBox
{
	typedef Stdctrls::TListBox inherited;
	
private:
	bool FColorList;
	System::UnicodeString FPropName;
	System::TObject* FPropObj;
	System::TObject* FPropInspector;
	void __fastcall ListBox1DrawItem(Controls::TWinControl* Control, int Index, const Types::TRect &Rect, Windows::TOwnerDrawState State);
	void __fastcall ListBox1MouseMove(System::TObject* Sender, Classes::TShiftState Shift, int X, int Y);
	
protected:
	DYNAMIC void __fastcall DoExit(void);
	virtual void __fastcall CreateWnd(void);
	virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
	
public:
	__fastcall virtual TPopupListBox(Classes::TComponent* AOwner);
	__property bool ColorList = {read=FColorList, write=FColorList, nodefault};
	__property System::UnicodeString PropName = {read=FPropName, write=FPropName};
	__property System::TObject* PropObj = {read=FPropObj, write=FPropObj};
	__property System::TObject* PropInspector = {read=FPropInspector, write=FPropInspector};
public:
	/* TCustomListBox.Destroy */ inline __fastcall virtual ~TPopupListBox(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TPopupListBox(HWND ParentWindow) : Stdctrls::TListBox(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Popuplb */
using namespace Popuplb;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// PopuplbHPP
