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

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

#ifndef AHMTPrinterComboHPP
#define AHMTPrinterComboHPP
#include <AHMStandardConst.hpp>
#include <AHMStdClass.hpp>
#include <Printers.hpp>
#include <Menus.hpp>
#include <StdCtrls.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysUtils.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Ahmtprintercombo
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMPrinterCombo;
class PASCALIMPLEMENTATION TAHMPrinterCombo : public Stdctrls::TCustomComboBox 
{
	typedef Stdctrls::TCustomComboBox inherited;
	
private:
	Ahmstdclass::TAHMAboutSControlStr FAboutStr;
	Graphics::TBitmap* FResBmp;
	int FMaxLength;
	System::AnsiString __fastcall GetSelectedPrinter(void);
	
protected:
	virtual void __fastcall DrawItem(int Index, const Windows::TRect &Rect, Stdctrls::TOwnerDrawState State
		);
	__property ItemHeight ;
	__property Style ;
	__property Items ;
	__property MaxLength ;
	__property Sorted ;
	__property Text ;
	__property OnMeasureItem ;
	DYNAMIC void __fastcall DropDown(void);
	
public:
	__fastcall virtual TAHMPrinterCombo(Classes::TComponent* AOwner);
	virtual void __fastcall CreateWnd(void);
	virtual void __fastcall Loaded(void);
	__fastcall virtual ~TAHMPrinterCombo(void);
	__property System::AnsiString SelectedPrinter = {read=GetSelectedPrinter};
	DYNAMIC void __fastcall Change(void);
	
__published:
	__property Ahmstdclass::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
	__property Color ;
	__property Ctl3D ;
	__property DragMode ;
	__property DragCursor ;
	__property DropDownCount ;
	__property Enabled ;
	__property Font ;
	__property ParentColor ;
	__property ParentCtl3D ;
	__property ParentFont ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ShowHint ;
	__property TabOrder ;
	__property TabStop ;
	__property Visible ;
	__property OnChange ;
	__property OnClick ;
	__property OnDblClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnDrawItem ;
	__property OnDropDown ;
	__property OnEndDrag ;
	__property OnEnter ;
	__property OnExit ;
	__property OnKeyDown ;
	__property OnKeyPress ;
	__property OnKeyUp ;
public:
	/* TWinControl.CreateParented */ __fastcall TAHMPrinterCombo(HWND ParentWindow) : Stdctrls::TCustomComboBox(
		ParentWindow) { }
	
};

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

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