home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
SBAREDIT.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
4KB
|
105 lines
//----------------------------------------------------------------------------
// SBarEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: SBarEdit.pas
//----------------------------------------------------------------------------
#ifndef SBarEditHPP
#define SBarEditHPP
//----------------------------------------------------------------------------
#include <LibHelp.hpp>
#include <ComCtrls.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 <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Sbaredit
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TStatusBarEditor;
class __declspec(pascalimplementation) TStatusBarEditor : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Stdctrls::TGroupBox* GroupBox1;
Stdctrls::TListBox* PanelList;
Stdctrls::TButton* NewButton;
Stdctrls::TButton* DeleteButton;
Stdctrls::TGroupBox* GroupBox2;
Stdctrls::TEdit* PanelText;
Stdctrls::TEdit* PanelWidth;
Stdctrls::TComboBox* PanelStyle;
Stdctrls::TComboBox* PanelBevel;
Stdctrls::TComboBox* PanelAlignment;
Stdctrls::TButton* OkButton;
Stdctrls::TButton* CancelButton;
Stdctrls::TButton* ApplyButton;
Stdctrls::TButton* HelpButton;
Stdctrls::TLabel* Label1;
Stdctrls::TLabel* Label2;
Stdctrls::TLabel* Label3;
Stdctrls::TLabel* Label4;
Stdctrls::TLabel* Label5;
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall PanelListClick(System::TObject* Sender);
void __fastcall NewButtonClick(System::TObject* Sender);
void __fastcall DeleteButtonClick(System::TObject* Sender);
void __fastcall PanelListMouseDown(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState
Shift, int X, int Y);
void __fastcall PanelListDragOver(System::TObject* Sender, System::TObject* Source, int X, int Y, Controls::TDragState
State, bool &Accept);
void __fastcall PanelListDragDrop(System::TObject* Sender, System::TObject* Source, int X, int Y);
void __fastcall PanelControlExit(System::TObject* Sender);
void __fastcall PanelEditChange(System::TObject* Sender);
void __fastcall PanelComboChange(System::TObject* Sender);
void __fastcall OkButtonClick(System::TObject* Sender);
void __fastcall CancelButtonClick(System::TObject* Sender);
void __fastcall ApplyButtonClick(System::TObject* Sender);
void __fastcall HelpButtonClick(System::TObject* Sender);
private:
Comctrls::TStatusBar* StatusBar;
Comctrls::TStatusPanels* TargetPanels;
int FocusIndex;
bool UpdatingControls;
bool Modified;
void __fastcall UpdateControls(void);
void __fastcall UpdatePanel(void);
void __fastcall UpdatePanelList(void);
public:
/* TForm.Create */ __fastcall virtual TStatusBarEditor(Classes::TComponent* AOwner) : Forms::TForm(
AOwner) { }
/* TForm.CreateNew */ __fastcall TStatusBarEditor(Classes::TComponent* AOwner, int Dummy) : Forms::
TForm(AOwner, Dummy) { }
/* TForm.Destroy */ __fastcall virtual ~TStatusBarEditor(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TStatusBarEditor(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
};
//-- var, const, procedure ---------------------------------------------------
extern bool __fastcall EditStatusPanels(Comctrls::TStatusPanels* StatusPanels);
} /* namespace Sbaredit */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Sbaredit;
#endif
//-- end unit ----------------------------------------------------------------
#endif // SBarEdit