// ************************************************************************ //
// WARNING                                                                    
// -------                                                                    
// The types declared in this file were generated from data read from a       
// Type Library. If this type library is explicitly or indirectly (via        
// another type library referring to this type library) re-imported, or the   
// 'Refresh' command of the Type Library Editor activated while editing the   
// Type Library, the contents of this file will be regenerated and all        
// manual modifications will be lost.                                         
// ************************************************************************ //

// $Rev: 5081 $
// File generated on 2016-04-07 ¿ÀÈÄ 3:06:36 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\Program Files\Hnc\Hwp80\HwpCtrl.ocx (1)
// LIBID: {86E6E883-3879-4514-A25B-81023981DA19}
// LCID: 0
// Helpfile: C:\Program Files\Hnc\Hwp80\HwpCtrl.hlp
// HelpString: HwpCtrl ActiveX Control module
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINDOWS\system32\STDOLE2.TLB)
// ************************************************************************ //
#ifndef   HWPCONTROLLib_OCXH
#define   HWPCONTROLLib_OCXH

#pragma option push -b -w-inl

#include <olectrls.hpp>
#include <oleserver.hpp>
#if !defined(__UTILCLS_H)
#include <utilcls.h>
#endif
#if !defined(__UTILCLS_H_VERSION) || (__UTILCLS_H_VERSION < 0x0700)
//
// The code generated by the TLIBIMP utility or the Import|TypeLibrary 
// and Import|ActiveX feature of C++Builder rely on specific versions of
// the header file UTILCLS.H found in the INCLUDE\VCL directory. If an 
// older version of the file is detected, you probably need an update/patch.
//
#error "This file requires a newer version of the header UTILCLS.H" \
       "You need to apply an update/patch to your copy of C++Builder"
#endif
#include <olectl.h>
#include <ocidl.h>
#if !defined(_NO_VCL)
#include <stdvcl.hpp>
#endif  //   _NO_VCL
#include <ocxproxy.h>

#include "HWPCONTROLLib_TLB.h"
namespace Hwpcontrollib_tlb
{

// *********************************************************************//
// HelpString: HwpCtrl ActiveX Control module
// Version:    1.2
// *********************************************************************//


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : THwpCtrl
// Help String      : HwpCtrl Control
// Default Interface: _DHwpCtrl
// Def. Intf. Object: _DHwpCtrlDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DHwpCtrlEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
typedef void __fastcall (__closure * THwpCtrlNotifyMessage)(System::TObject * Sender, 
                                                            BSTR Msg, long WParam, long LParam);
typedef void __fastcall (__closure * THwpCtrlOnMouseLButtonDown)(System::TObject * Sender, 
                                                                 long x, long y);
typedef void __fastcall (__closure * THwpCtrlOnScroll)(System::TObject * Sender, 
                                                       long WParam, long LParam);
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host HwpCtrl Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE THwpCtrl : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //
  THwpCtrlNotifyMessage          FOnNotifyMessage;
  THwpCtrlOnMouseLButtonDown     FOnMouseLButtonDown;
  THwpCtrlOnScroll               FOnScroll;

  // Default Interace of OCX
  //
  _DHwpCtrlDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH      __fastcall get_XHwpDocuments();
  void            __fastcall set_XHwpDocuments(LPDISPATCH param);
  LPDISPATCH      __fastcall get_ScrollPosInfo();
  void            __fastcall set_ScrollPosInfo(LPDISPATCH param);
  LPDISPATCH      __fastcall get_EngineProperties();
  void            __fastcall set_EngineProperties(LPDISPATCH param);
  LPDISPATCH      __fastcall get_ViewProperties();
  void            __fastcall set_ViewProperties(LPDISPATCH param);
  LPDISPATCH      __fastcall get_ParentCtrl();
  void            __fastcall set_ParentCtrl(LPDISPATCH param);
  LPDISPATCH      __fastcall get_ParaShape();
  void            __fastcall set_ParaShape(LPDISPATCH param);
  LPDISPATCH      __fastcall get_LastCtrl();
  void            __fastcall set_LastCtrl(LPDISPATCH param);
  LPDISPATCH      __fastcall get_HeadCtrl();
  void            __fastcall set_HeadCtrl(LPDISPATCH param);
  LPDISPATCH      __fastcall get_CharShape();
  void            __fastcall set_CharShape(LPDISPATCH param);
  LPDISPATCH      __fastcall get_CellShape();
  void            __fastcall set_CellShape(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static int          EventDispIDs[3];
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DHwpCtrlDisp __fastcall GetDefaultInterface();
  _DHwpCtrlDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall THwpCtrl(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall THwpCtrl(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  LPDISPATCH      __fastcall InsertCtrl(BSTR ctrlid, VARIANT initparam/*[opt]*/= TNoParam());
  void            __fastcall PutFieldText(BSTR fieldlist, BSTR textlist);
  VARIANT_BOOL    __fastcall MoveToField(BSTR field, VARIANT text/*[opt]*/= TNoParam(), 
                                         VARIANT start/*[opt]*/= TNoParam(), 
                                         VARIANT select/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall InitScan(VARIANT option/*[opt]*/= TNoParam(), 
                                      VARIANT range/*[opt]*/= TNoParam(), 
                                      VARIANT spara/*[opt]*/= TNoParam(), 
                                      VARIANT spos/*[opt]*/= TNoParam(), 
                                      VARIANT epara/*[opt]*/= TNoParam(), 
                                      VARIANT epos/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall Open(BSTR Path, VARIANT format/*[opt]*/= TNoParam(), 
                                  VARIANT arg/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall Insert(BSTR Path, VARIANT format/*[opt]*/= TNoParam(), 
                                    VARIANT arg/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall CreatePageImage(BSTR Path, VARIANT pgno/*[opt]*/= TNoParam(), 
                                             VARIANT resolution/*[opt]*/= TNoParam(), 
                                             VARIANT depth/*[opt]*/= TNoParam(), 
                                             VARIANT format/*[opt]*/= TNoParam());
  void            __fastcall RenameField(BSTR oldname, BSTR newname);
  VARIANT_BOOL    __fastcall Save(VARIANT save_if_dirty/*[opt]*/= TNoParam());
  void            __fastcall Run(BSTR actid);
  VARIANT_BOOL    __fastcall GetSelectedPosBySet(LPDISPATCH sset, LPDISPATCH eset);
  LPDISPATCH      __fastcall MakeVersionDiffAll(VARIANT filepath/*[opt]*/= TNoParam());
  VARIANT         __fastcall GetFormObjectAttr(BSTR formname, BSTR attrname);
  VARIANT_BOOL    __fastcall MoveToFieldEx(BSTR field, VARIANT text/*[opt]*/= TNoParam(), 
                                           VARIANT start/*[opt]*/= TNoParam(), 
                                           VARIANT select/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall SetAutoSave(BSTR FileName, long saveinterval);
  VARIANT_BOOL    __fastcall VersionSave(BSTR filepath, long overwirte, long infolock, 
                                         VARIANT writer/*[opt]*/= TNoParam(), 
                                         VARIANT description/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall VersionDelete(long index);
  long            __fastcall GetTableCellAddr(long type);
  LPDISPATCH      __fastcall GetVersionInfo(long index);
  long            __fastcall GetVersionHistoryCount(void);
  LPDISPATCH      __fastcall CreateAction(BSTR actid);
  VARIANT_BOOL    __fastcall SaveDocument(BSTR szFileName, BSTR szFileType);
  VARIANT_BOOL    __fastcall OpenDocument(BSTR szFileName, BSTR szFileType);
  LPDISPATCH      __fastcall InsertPicture(BSTR Path, VARIANT embedded/*[opt]*/= TNoParam(), 
                                           VARIANT sizeOption/*[opt]*/= TNoParam(), 
                                           VARIANT reverse/*[opt]*/= TNoParam(), 
                                           VARIANT watermark/*[opt]*/= TNoParam(), 
                                           VARIANT effect/*[opt]*/= TNoParam(), 
                                           VARIANT width/*[opt]*/= TNoParam(), 
                                           VARIANT height/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall SetCurFieldName(BSTR fieldname, VARIANT option/*[opt]*/= TNoParam(), 
                                             VARIANT direction/*[opt]*/= TNoParam(), 
                                             VARIANT memo/*[opt]*/= TNoParam());
  BSTR            __fastcall GetCurFieldName(VARIANT option/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall SetToolBar(long lToolBarID, VARIANT varID);
  VARIANT_BOOL    __fastcall PrintDocument(void);
  VARIANT_BOOL    __fastcall ShowToolBar(long bShow);
  VARIANT_BOOL    __fastcall SaveAs(BSTR Path, VARIANT format/*[opt]*/= TNoParam(), 
                                    VARIANT arg/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall InsertDocument(BSTR szFileName);
  BSTR            __fastcall GetFieldList(VARIANT number/*[opt]*/= TNoParam(), 
                                          VARIANT option/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall FieldExist(BSTR field);
  BSTR            __fastcall GetFieldText(BSTR fieldlist);
  void            __fastcall Clear(VARIANT option/*[opt]*/= TNoParam());
  LPDISPATCH      __fastcall CreateSet(BSTR setid);
  VARIANT_BOOL    __fastcall SelectText(long spara, long spos, long epara, long epos);
  VARIANT_BOOL    __fastcall DeleteCtrl(LPDISPATCH ctrl);
  VARIANT_BOOL    __fastcall CreateField(BSTR direction, VARIANT memo/*[opt]*/= TNoParam(), 
                                         VARIANT name/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall MovePos(VARIANT moveID/*[opt]*/= TNoParam(), 
                                     VARIANT para/*[opt]*/= TNoParam(), 
                                     VARIANT pos/*[opt]*/= TNoParam());
  void            __fastcall SetClientName(BSTR szClient);
  VARIANT_BOOL    __fastcall GetSelectedPos(long* slist, long* spara, long* spos, long* elist, 
                                            long* epara, long* epos);
  VARIANT_BOOL    __fastcall IsCommandLock(BSTR actionID);
  VARIANT_BOOL    __fastcall GetFilterList(BSTR* szfilterlist, VARIANT flags);
  VARIANT_BOOL    __fastcall ReplaceAction(BSTR OldActionID, BSTR NewActionID);
  BSTR            __fastcall SaveState(BSTR FileName);
  VARIANT_BOOL    __fastcall LoadState(BSTR FileName);
  void            __fastcall LockCommand(BSTR actionID, long lock);
  VARIANT_BOOL    __fastcall SetPos(long list, long para, long pos);
  void            __fastcall ReleaseScan(void);
  void            __fastcall GetPos(long* list, long* para, long* pos);
  long            __fastcall GetText(BSTR* text);
  VARIANT         __fastcall InsertBackgroundPicture(BSTR bordertype, BSTR Path, 
                                                     VARIANT embedded/*[opt]*/= TNoParam(), 
                                                     VARIANT filloption/*[opt]*/= TNoParam(), 
                                                     VARIANT watermark/*[opt]*/= TNoParam(), 
                                                     VARIANT effect/*[opt]*/= TNoParam(), 
                                                     VARIANT brightness/*[opt]*/= TNoParam(), 
                                                     VARIANT contrast/*[opt]*/= TNoParam());
  long            __fastcall SetFieldViewOption(long option);
  VARIANT_BOOL    __fastcall ShowStatusBar(long Show);
  long            __fastcall SetTextFile(VARIANT data, BSTR format, BSTR option);
  LPDISPATCH      __fastcall GetMousePos(long Xrelto, long Yrelto);
  LPDISPATCH      __fastcall GetViewStatus(long nType);
  VARIANT_BOOL    __fastcall RegisterModule(BSTR ModuleType, VARIANT ModuleData);
  LPDISPATCH      __fastcall GetMessageSet(void);
  VARIANT         __fastcall GetTextFile(BSTR format, BSTR option);
  LPDISPATCH      __fastcall GetFileInfo(BSTR FileName);
  LPDISPATCH      __fastcall GetPosBySet(void);
  long            __fastcall ConvertPUAHangulToUnicode(VARIANT reverse/*[opt]*/= TNoParam());
  void            __fastcall AboutBox(void);
  BSTR            __fastcall GetBinDataPath(long binid);
  VARIANT_BOOL    __fastcall InsertMenu(BSTR menuidx, BSTR menustr, BSTR actionstr, long menutype);
  long            __fastcall GetMessageBoxMode(void);
  VARIANT_BOOL    __fastcall SetFormObjectAttr(BSTR formname, BSTR attrname, VARIANT value);
  VARIANT_BOOL    __fastcall PreviewCommand(long previewmode);
  VARIANT_BOOL    __fastcall ImportStyle(LPDISPATCH styleset);
  long            __fastcall SetMessageBoxMode(long mode);
  VARIANT_BOOL    __fastcall ExportStyle(LPDISPATCH styleset);
  VARIANT_BOOL    __fastcall GetActionCmdUIStatus(BSTR actid, long bWithKey, long* bEnabled, 
                                                  long* bChecked, long* bRadio, BSTR* szText);
  long            __fastcall ModifyFieldProperties(BSTR field, long remove, long add);
  VARIANT_BOOL    __fastcall KeyIndicator(long* seccnt, long* secno, long* prnpageno, long* colno, 
                                          long* line, long* pos, short* over, BSTR* ctrlname);
  VARIANT_BOOL    __fastcall SetPosBySet(LPDISPATCH pos);
  long            __fastcall GetTextBySet(LPDISPATCH text);
  BSTR            __fastcall GetScriptSource(BSTR filepath);
  VARIANT_BOOL    __fastcall RunScriptMacro(BSTR FunctionName, long uMacroType, long uScriptType);
  VARIANT_BOOL    __fastcall SetBarCodeImage(BSTR lpImagePath, long pgno, long index, long x, long y, 
                                             VARIANT width/*[opt]*/= TNoParam(), 
                                             VARIANT height/*[opt]*/= TNoParam());
  VARIANT_BOOL    __fastcall RemoveMenu(BSTR menuidx, long menutype);
  BSTR            __fastcall GetPageText(long pgno, VARIANT option/*[opt]*/= TNoParam());

  // OCX properties
  //
  __property _di_IDispatch XHwpDocuments={ read=GetIDispatchProp, write=SetIDispatchProp, index=122 };
  __property _di_IDispatch ScrollPosInfo={ read=GetIDispatchProp, write=SetIDispatchProp, index=73 };
  __property _di_IDispatch EngineProperties={ read=GetIDispatchProp, write=SetIDispatchProp, index=72 };
  __property _di_IDispatch ViewProperties={ read=GetIDispatchProp, write=SetIDispatchProp, index=11 };
  __property _di_IDispatch ParentCtrl={ read=GetIDispatchProp, write=SetIDispatchProp, index=9 };
  __property _di_IDispatch ParaShape={ read=GetIDispatchProp, write=SetIDispatchProp, index=8 };
  __property _di_IDispatch LastCtrl={ read=GetIDispatchProp, write=SetIDispatchProp, index=6 };
  __property _di_IDispatch HeadCtrl={ read=GetIDispatchProp, write=SetIDispatchProp, index=3 };
  __property _di_IDispatch CharShape={ read=GetIDispatchProp, write=SetIDispatchProp, index=2 };
  __property _di_IDispatch CellShape={ read=GetIDispatchProp, write=SetIDispatchProp, index=1 };
  __property _DHwpCtrlDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;

  // OCX properties
  //
  __property bool IsPreviewMode={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=121 };
  __property int HyperlinkMode={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=78 };
  __property bool AutoShowHideToolBar={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=71 };
  __property int EditMode={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=56 };
  __property short SelectionMode={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=15 };
  __property bool ReadOnlyMode={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=14 };
  __property int CurFieldState={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13 };
  __property int Version={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };
  __property System::WideString Path={ read=GetWideStringProp, write=SetWideStringProp, stored=false, index=10 };
  __property int PageCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property short IsModified={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=5 };
  __property bool IsEmpty={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=4 };

  // OCX Events
  //
  __property THwpCtrlNotifyMessage OnNotifyMessage={ read=FOnNotifyMessage, write=FOnNotifyMessage };
  __property THwpCtrlOnMouseLButtonDown OnMouseLButtonDown={ read=FOnMouseLButtonDown, write=FOnMouseLButtonDown };
  __property THwpCtrlOnScroll OnScroll={ read=FOnScroll, write=FOnScroll };
};
typedef THwpCtrl  THwpCtrlProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : THwpAction
// Help String      : 
// Default Interface: DHwpAction
// Def. Intf. Object: DHwpActionPtr
// Def. Intf. DISP? : Yes
// Event   Interface: 
// TypeFlags        : (2) CanCreate
// *********************************************************************//
class PACKAGE THwpAction : public Oleserver::TOleServer
{
  DHwpActionPtr m_DefaultIntf;
  _di_IUnknown __fastcall GetDunk();
public:
  __fastcall THwpAction(TComponent* owner) : Oleserver::TOleServer(owner)
  {}

  DHwpActionPtr& GetDefaultInterface();
  void __fastcall InitServerData();
  void __fastcall Connect();
  void __fastcall Disconnect();
  void __fastcall BeforeDestruction();
  void __fastcall ConnectTo(DHwpActionPtr intf);


  BSTR            __fastcall get_setid();
  void            __fastcall set_setid(BSTR param);
  BSTR            __fastcall get_actid();
  void            __fastcall set_actid(BSTR param);
  long            __fastcall Execute(LPDISPATCH param);
  LPDISPATCH      __fastcall CreateSet(void);
  void            __fastcall Run(void);
  long            __fastcall GetDefault(LPDISPATCH param);
  long            __fastcall PopupDialog(LPDISPATCH param);
  __property BSTR setid={ read=get_setid, write=set_setid, stored=false };
  __property BSTR actid={ read=get_actid, write=set_actid, stored=false };
};


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : THwpParameterSet
// Help String      : 
// Default Interface: DHwpParameterSet
// Def. Intf. Object: DHwpParameterSetPtr
// Def. Intf. DISP? : Yes
// Event   Interface: 
// TypeFlags        : (2) CanCreate
// *********************************************************************//
class PACKAGE THwpParameterSet : public Oleserver::TOleServer
{
  DHwpParameterSetPtr m_DefaultIntf;
  _di_IUnknown __fastcall GetDunk();
public:
  __fastcall THwpParameterSet(TComponent* owner) : Oleserver::TOleServer(owner)
  {}

  DHwpParameterSetPtr& GetDefaultInterface();
  void __fastcall InitServerData();
  void __fastcall Connect();
  void __fastcall Disconnect();
  void __fastcall BeforeDestruction();
  void __fastcall ConnectTo(DHwpParameterSetPtr intf);


  BSTR            __fastcall get_setid();
  void            __fastcall set_setid(BSTR param);
  VARIANT_BOOL    __fastcall get_IsSet();
  void            __fastcall set_IsSet(VARIANT_BOOL param);
  long            __fastcall get_Count();
  void            __fastcall set_Count(long param);
  LPDISPATCH      __fastcall CreateItemArray(BSTR itemid, long Count);
  void            __fastcall RemoveAll(BSTR setid);
  LPDISPATCH      __fastcall Clone(void);
  LPDISPATCH      __fastcall CreateItemSet(BSTR itemid, BSTR setid);
  void            __fastcall GetIntersection(LPDISPATCH srcset);
  void            __fastcall RemoveItem(BSTR itemid);
  VARIANT         __fastcall Item(BSTR itemid);
  VARIANT_BOOL    __fastcall ItemExist(BSTR itemid);
  VARIANT_BOOL    __fastcall IsEquivalent(LPDISPATCH srcset);
  void            __fastcall SetItem(BSTR itemid, VARIANT value);
  void            __fastcall Merge(LPDISPATCH srcset);
  __property BSTR setid={ read=get_setid, write=set_setid, stored=false };
  __property VARIANT_BOOL IsSet={ read=get_IsSet, write=set_IsSet, stored=false };
  __property long Count={ read=get_Count, write=set_Count, stored=false };
};


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : THwpParameterArray
// Help String      : 
// Default Interface: DHwpParameterArray
// Def. Intf. Object: DHwpParameterArrayPtr
// Def. Intf. DISP? : Yes
// Event   Interface: 
// TypeFlags        : (2) CanCreate
// *********************************************************************//
class PACKAGE THwpParameterArray : public Oleserver::TOleServer
{
  DHwpParameterArrayPtr m_DefaultIntf;
  _di_IUnknown __fastcall GetDunk();
public:
  __fastcall THwpParameterArray(TComponent* owner) : Oleserver::TOleServer(owner)
  {}

  DHwpParameterArrayPtr& GetDefaultInterface();
  void __fastcall InitServerData();
  void __fastcall Connect();
  void __fastcall Disconnect();
  void __fastcall BeforeDestruction();
  void __fastcall ConnectTo(DHwpParameterArrayPtr intf);


  VARIANT_BOOL    __fastcall get_IsSet();
  void            __fastcall set_IsSet(VARIANT_BOOL param);
  long            __fastcall get_Count();
  void            __fastcall set_Count(long param);
  void            __fastcall SetItem(long index, VARIANT value);
  LPDISPATCH      __fastcall Clone(void);
  void            __fastcall Copy(LPDISPATCH srcarray);
  VARIANT         __fastcall Item(long index);
  __property VARIANT_BOOL IsSet={ read=get_IsSet, write=set_IsSet, stored=false };
  __property long Count={ read=get_Count, write=set_Count, stored=false };
};


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : THwpCtrlCode
// Help String      : 
// Default Interface: DHwpCtrlCode
// Def. Intf. Object: DHwpCtrlCodePtr
// Def. Intf. DISP? : Yes
// Event   Interface: 
// TypeFlags        : (2) CanCreate
// *********************************************************************//
class PACKAGE THwpCtrlCode : public Oleserver::TOleServer
{
  DHwpCtrlCodePtr m_DefaultIntf;
  _di_IUnknown __fastcall GetDunk();
public:
  __fastcall THwpCtrlCode(TComponent* owner) : Oleserver::TOleServer(owner)
  {}

  DHwpCtrlCodePtr& GetDefaultInterface();
  void __fastcall InitServerData();
  void __fastcall Connect();
  void __fastcall Disconnect();
  void __fastcall BeforeDestruction();
  void __fastcall ConnectTo(DHwpCtrlCodePtr intf);


  short           __fastcall get_CtrlCh();
  void            __fastcall set_CtrlCh(short param);
  BSTR            __fastcall get_ctrlid();
  void            __fastcall set_ctrlid(BSTR param);
  LPDISPATCH      __fastcall get_Next();
  void            __fastcall set_Next(LPDISPATCH param);
  LPDISPATCH      __fastcall get_Properties();
  void            __fastcall set_Properties(LPDISPATCH param);
  BSTR            __fastcall get_UserDesc();
  void            __fastcall set_UserDesc(BSTR param);
  LPDISPATCH      __fastcall get_Prev();
  void            __fastcall set_Prev(LPDISPATCH param);
  LPDISPATCH      __fastcall GetAnchorPos(long type);
  __property LPDISPATCH Next={ read=get_Next, write=set_Next };
  __property LPDISPATCH Properties={ read=get_Properties, write=set_Properties };
  __property LPDISPATCH Prev={ read=get_Prev, write=set_Prev };
  __property short CtrlCh={ read=get_CtrlCh, write=set_CtrlCh, stored=false };
  __property BSTR ctrlid={ read=get_ctrlid, write=set_ctrlid, stored=false };
  __property BSTR UserDesc={ read=get_UserDesc, write=set_UserDesc, stored=false };
};

};     // namespace Hwpcontrollib_tlb

#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using  namespace Hwpcontrollib_tlb;
#endif

#pragma option pop

#endif // HWPCONTROLLib_OCXH
