home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 May
/
VPR9705A.ISO
/
VPR_DATA
/
PROGRAM
/
CBTRIAL
/
SETUP
/
DATA.Z
/
DBCOMBO.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-14
|
4KB
|
119 lines
//----------------------------------------------------------------------------
// DBCombo.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: DBCombo.pas
//----------------------------------------------------------------------------
#ifndef DBComboHPP
#define DBComboHPP
//----------------------------------------------------------------------------
#include <StdCtrls.hpp>
#include <Controls.hpp>
#include <FileCtrl.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Windows.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Dbcombo
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TAliasDrive;
class __declspec(pascalimplementation) TAliasDrive : public Filectrl::TDriveComboBox
{
typedef Filectrl::TDriveComboBox inherited;
private:
Graphics::TBitmap* FAliasBitmap;
Classes::TStrings* FAliasList;
void __fastcall LoadBitmaps(void);
void __fastcall FreeBitmaps(void);
protected:
virtual void __fastcall BuildList(void);
virtual void __fastcall Click(void);
public:
__fastcall virtual TAliasDrive(Classes::TComponent* AOwner);
__fastcall virtual ~TAliasDrive(void);
void __fastcall AddAliases(Classes::TStrings* Value);
bool __fastcall SetAlias(const System::AnsiString EditText);
__property Graphics::TBitmap* AliasBitmap = {read=FAliasBitmap, nodefault};
__property Classes::TStrings* AliasList = {read=FAliasList, nodefault};
public:
/* TWinControl.CreateParented */ __fastcall TAliasDrive(HWND ParentWindow) : Filectrl::TDriveComboBox(
ParentWindow) { }
};
class __declspec(delphiclass) TAliasListBox;
class __declspec(pascalimplementation) TAliasListBox : public Filectrl::TDirectoryListBox
{
typedef Filectrl::TDirectoryListBox inherited;
private:
bool FShowAlias;
System::AnsiString FAliasName;
Graphics::TBitmap* FAliasBitmap;
void __fastcall SetAliasBitmap(Graphics::TBitmap* Value);
protected:
virtual void __fastcall BuildList(void);
public:
__fastcall virtual TAliasListBox(Classes::TComponent* AOwner);
__fastcall virtual ~TAliasListBox(void);
__property System::AnsiString AliasName = {read=FAliasName, write=FAliasName, nodefault};
__property Graphics::TBitmap* AliasBitmap = {read=FAliasBitmap, write=SetAliasBitmap, nodefault};
__property bool ShowAlias = {read=FShowAlias, write=FShowAlias, nodefault};
public:
/* TWinControl.CreateParented */ __fastcall TAliasListBox(HWND ParentWindow) : Filectrl::TDirectoryListBox(
ParentWindow) { }
};
class __declspec(delphiclass) TAliasFileListBox;
class __declspec(pascalimplementation) TAliasFileListBox : public Filectrl::TFileListBox
{
typedef Filectrl::TFileListBox inherited;
protected:
Classes::TStringList* FTableList;
bool FShowAlias;
System::AnsiString FAliasName;
bool FSystem;
virtual void __fastcall ReadFileNames(void);
virtual void __fastcall ReadBitmaps(void);
public:
__fastcall virtual TAliasFileListBox(Classes::TComponent* AOwner);
__fastcall virtual ~TAliasFileListBox(void);
__property Classes::TStringList* TableList = {read=FTableList, nodefault};
__property bool ShowAlias = {read=FShowAlias, write=FShowAlias, nodefault};
__property System::AnsiString AliasName = {read=FAliasName, write=FAliasName, nodefault};
__property bool System = {read=FSystem, write=FSystem, nodefault};
public:
/* TWinControl.CreateParented */ __fastcall TAliasFileListBox(HWND ParentWindow) : Filectrl::TFileListBox(
ParentWindow) { }
};
//-- var, const, procedure ---------------------------------------------------
extern void __fastcall ProcessAlias( System::AnsiString EditText, System::AnsiString &Alias, System::AnsiString &
DirPart, System::AnsiString &FilePart);
extern void __fastcall DBCombo_Register(void);
} /* namespace Dbcombo */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Dbcombo;
#endif
//-- end unit ----------------------------------------------------------------
#endif // DBCombo