home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
FMXWIN.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
3KB
|
82 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#ifndef FmxwinH
#define FmxwinH
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\ExtCtrls.hpp>
#include <vcl\Tabs.hpp>
#include <vcl\Menus.hpp>
#include <vcl\FileCtrl.hpp>
#include <vcl\Outline.hpp>
#include <vcl\Grids.hpp>
#include <sampreg.h>
//---------------------------------------------------------------------------
class TFormMain : public TForm
{
__published: // IDE-managed Components
TPanel *StatusPanel;
TPanel *DirectoryPanel;
TPanel *FilePanel;
TTabSet *DriveTabSet;
TImage *Floppy;
TImage *Fixed;
TImage *Network;
TMainMenu *MainMenu1;
TFileListBox *FileList;
TDirectoryOutline *DirectoryOutline;
TMenuItem *File1;
TMenuItem *Open1;
TMenuItem *Move1;
TMenuItem *Copy1;
TMenuItem *Delete1;
TMenuItem *Rename1;
TMenuItem *Properties1;
TMenuItem *N1;
TMenuItem *Exit1;
void __fastcall Exit1Click(TObject *Sender);
void __fastcall Properties1Click(TObject *Sender);
void __fastcall DirectoryOutlineChange(TObject *Sender);
void __fastcall DirectoryOutlineDragDrop(TObject *Sender, TObject *Source,
int X, int Y);
void __fastcall DirectoryOutlineDragOver(TObject *Sender,TObject *Source,
int X, int Y, TDragState State,bool &Accept);
void __fastcall FormCreate(TObject *Sender);
void __fastcall FileListChange(TObject *Sender);
void __fastcall FileListEndDrag(TObject *Sender, TObject *Target,
int X, int Y);
void __fastcall FileListMouseDown(TObject *Sender, TMouseButton Button,
TShiftState Shift, int X, int Y);
void __fastcall DriveTabSetClick(TObject *Sender);
void __fastcall DriveTabSetDrawTab(TObject *Sender, TCanvas *TabCanvas,
TRect &R, int Index, bool Selected);
void __fastcall DriveTabSetMeasureTab(TObject *Sender, int Index,
int &TabWidth);
void __fastcall FileChange(TObject *Sender);
void __fastcall File1Click(TObject *Sender);
void __fastcall Delete1Click(TObject *Sender);
void __fastcall Open1Click(TObject *Sender);
void __fastcall FileListDblClick(TObject *Sender);
private: // User declarations
bool FileSelected;
void __fastcall ConfirmChange(const AnsiString ACaption,AnsiString FromFile,
AnsiString ToFile);
public: // User declarations
virtual __fastcall TFormMain(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TFormMain *FormMain;
//---------------------------------------------------------------------------
#endif