// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'SCheckListBox.pas' rev: 3.00

#ifndef SCheckListBoxHPP
#define SCheckListBoxHPP
#include <Options.hpp>
#include <IniFiles.hpp>
#include <Registry.hpp>
#include <checklst.hpp>
#include <StdCtrls.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Schecklistbox
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSCheckListBox;
class PASCALIMPLEMENTATION TSCheckListBox : public Checklst::TCheckListBox 
{
	typedef Checklst::TCheckListBox inherited;
	
private:
	Options::TOptions* fOptions;
	Classes::TNotifyEvent FOnSave;
	Classes::TNotifyEvent FOnRestore;
	Classes::TNotifyEvent FOnClear;
	void __fastcall _Save(void);
	void __fastcall _Restore(void);
	void __fastcall SaveToIni(void);
	void __fastcall RestoreFromIni(void);
	void __fastcall _LimitItems(void);
	
public:
	__fastcall virtual TSCheckListBox(Classes::TComponent* aOwner);
	__fastcall virtual ~TSCheckListBox(void);
	void __fastcall Save(void);
	void __fastcall Restore(void);
	void __fastcall ClearItems(void);
	
__published:
	__property Classes::TNotifyEvent OnSave = {read=FOnSave, write=FOnSave};
	__property Classes::TNotifyEvent OnRestore = {read=FOnRestore, write=FOnRestore};
	__property Classes::TNotifyEvent OnClear = {read=FOnClear, write=FOnClear};
	__property Options::TOptions* Options = {read=fOptions, write=fOptions};
public:
	/* TWinControl.CreateParented */ __fastcall TSCheckListBox(HWND ParentWindow) : Checklst::TCheckListBox(
		ParentWindow) { }
	
};

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

}	/* namespace Schecklistbox */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Schecklistbox;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// SCheckListBox
