home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // Forms.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: Forms.pas
- //----------------------------------------------------------------------------
- #ifndef FormsHPP
- #define FormsHPP
- //----------------------------------------------------------------------------
- #ifndef ControlsHPP
- #include <Controls.hpp>
- #endif
-
- #ifndef MenusHPP
- #include <Menus.hpp>
- #endif
-
- #ifndef GraphicsHPP
- #include <Graphics.hpp>
- #endif
-
- #ifndef ClassesHPP
- #include <Classes.hpp>
- #endif
-
- #ifndef SysUtilsHPP
- #include <SysUtils.hpp>
- #endif
-
- #ifndef WindowsHPP
- #include <Windows.hpp>
- #endif
-
- #ifndef MessagesHPP
- #include <Messages.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Forms
- {
- //-- type declarations -------------------------------------------------------
- enum TScrollBarKind { sbHorizontal, sbVertical };
-
- typedef System::Smallint TScrollBarInc;
-
- class __declspec(delphiclass) TControlScrollBar;
- class __declspec(delphiclass) TScrollingWinControl;
- class __declspec(pascalimplementation) TScrollingWinControl : public Controls::TWinControl
- {
- typedef TScrollingWinControl ThisClass;
- typedef Controls::TWinControl inherited;
-
- private:
- TControlScrollBar *FHorzScrollBar;
- TControlScrollBar *FVertScrollBar;
- System::Boolean FAutoScroll;
- System::Boolean FSizing;
- System::Boolean FUpdatingScrollBars;
- System::Byte FReserved;
- void __fastcall CalcAutoRange(void);
- void __fastcall ScaleScrollBars(System::Integer M, System::Integer D);
- void __fastcall SetAutoScroll(System::Boolean Value);
- void __fastcall SetHorzScrollBar(TControlScrollBar *Value);
- void __fastcall SetVertScrollBar(TControlScrollBar *Value);
- void __fastcall UpdateScrollBars(void);
- MESSAGE void __fastcall WMSize(Messages::TWMSize &Message);
- MESSAGE void __fastcall WMHScroll(Messages::TWMScroll &Message);
- MESSAGE void __fastcall WMVScroll(Messages::TWMScroll &Message);
-
- protected:
- void __fastcall AutoScrollInView(Controls::TControl *AControl);
- virtual void __fastcall ChangeScale(System::Integer M, System::Integer D);
- virtual void __fastcall CreateWnd(void);
- virtual void __fastcall AlignControls(Controls::TControl *AControl, Windows::TRect &ARect);
- __property System::Boolean AutoScroll = {read=FAutoScroll, write=SetAutoScroll, default=1};
-
- public:
- __fastcall virtual TScrollingWinControl(Classes::TComponent *AOwner);
- __fastcall virtual ~TScrollingWinControl(void);
- void __fastcall ScrollInView(Controls::TControl *AControl);
-
- __published:
- __property TControlScrollBar * HorzScrollBar = {read=FHorzScrollBar, write=SetHorzScrollBar, nodefault
- };
- __property TControlScrollBar * VertScrollBar = {read=FVertScrollBar, write=SetVertScrollBar, nodefault
- };
- };
-
- class __declspec(pascalimplementation) TControlScrollBar : public Classes::TPersistent
- {
- typedef TControlScrollBar ThisClass;
- typedef Classes::TPersistent inherited;
-
- private:
- TScrollingWinControl *FControl;
- TScrollBarInc FIncrement;
- System::Integer FPosition;
- System::Integer FRange;
- System::Integer FCalcRange;
- TScrollBarKind FKind;
- System::Word FMargin;
- System::Boolean FVisible;
- System::Boolean FTracking;
- System::Boolean FScaled;
- __fastcall TControlScrollBar(TScrollingWinControl *AControl, TScrollBarKind AKind);
- void __fastcall CalcAutoRange(void);
- System::Integer __fastcall ControlSize(System::Boolean ControlSB, System::Boolean AssumeSB);
- void __fastcall DoSetRange(System::Integer Value);
- System::Integer __fastcall GetScrollPos(void);
- System::Boolean __fastcall NeedsScrollBarVisible(void);
- void __fastcall ScrollMessage(Messages::TWMScroll &Msg);
- void __fastcall SetPosition(System::Integer Value);
- void __fastcall SetRange(System::Integer Value);
- void __fastcall SetVisible(System::Boolean Value);
- System::Boolean __fastcall IsRangeStored(void);
- void __fastcall Update(System::Boolean ControlSB, System::Boolean AssumeSB);
-
- public:
- virtual void __fastcall Assign(Classes::TPersistent *Source);
- __property TScrollBarKind Kind = {read=FKind, nodefault};
- __property System::Integer ScrollPos = {read=GetScrollPos, nodefault};
-
- __published:
- __property System::Word Margin = {read=FMargin, write=FMargin, default=0};
- __property TScrollBarInc Increment = {read=FIncrement, write=FIncrement, default=8};
- __property System::Integer Range = {read=FRange, write=SetRange, stored=IsRangeStored, default=0};
- __property System::Integer Position = {read=FPosition, write=SetPosition, default=0};
- __property System::Boolean Tracking = {read=FTracking, write=FTracking, default=0};
- __property System::Boolean Visible = {read=FVisible, write=SetVisible, default=1};
- public:
- /* !! TObject.Create */ __fastcall TControlScrollBar(void) : Classes::TPersistent() { }
- /* !! TObject.Destroy */ __fastcall virtual ~TControlScrollBar(void) { }
-
- };
-
- enum TFormBorderStyle { bsNone, bsSingle, bsSizeable, bsDialog, bsToolWindow, bsSizeToolWin };
-
- typedef TFormBorderStyle TBorderStyle;
-
- class __declspec(delphiclass) TScrollBox;
- class __declspec(pascalimplementation) TScrollBox : public TScrollingWinControl
- {
- typedef TScrollBox ThisClass;
- typedef TScrollingWinControl inherited;
-
- private:
- TFormBorderStyle FBorderStyle;
- System::Byte FReserved;
- Classes::TNotifyEvent FOnResize;
- void __fastcall SetBorderStyle(TBorderStyle Value);
- MESSAGE void __fastcall WMSize(Messages::TWMSize &Message);
- MESSAGE void __fastcall WMNCHitTest(Messages::TMessage &Message);
- MESSAGE void __fastcall CMCtl3DChanged(Messages::TMessage &Message);
-
- protected:
- virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
- virtual void __fastcall Resize(void);
-
- public:
- __fastcall virtual TScrollBox(Classes::TComponent *AOwner);
-
- __published:
- __property Align ;
- __property AutoScroll ;
- __property TBorderStyle BorderStyle = {read=FBorderStyle, write=SetBorderStyle, default=1};
- __property DragCursor ;
- __property DragMode ;
- __property Enabled ;
- __property Color ;
- __property Ctl3D ;
- __property Font ;
- __property ParentColor ;
- __property ParentCtl3D ;
- __property ParentFont ;
- __property ParentShowHint ;
- __property PopupMenu ;
- __property ShowHint ;
- __property TabOrder ;
- __property TabStop ;
- __property Visible ;
- __property OnClick ;
- __property OnDblClick ;
- __property OnDragDrop ;
- __property OnDragOver ;
- __property OnEndDrag ;
- __property OnEnter ;
- __property OnExit ;
- __property OnMouseDown ;
- __property OnMouseMove ;
- __property OnMouseUp ;
- __property Classes::TNotifyEvent OnResize = {read=FOnResize, write=FOnResize};
- public:
- /* !! TScrollingWinControl.Destroy */ __fastcall virtual ~TScrollBox(void) { }
-
- };
-
- class __declspec(delphiclass) TDesigner;
- class __declspec(delphiclass) TForm;
- enum TBorderIcon { biSystemMenu, biMinimize, biMaximize, biHelp };
-
- typedef Set<TBorderIcon, biSystemMenu, biHelp> TBorderIcons;
-
- enum TWindowState { wsNormal, wsMinimized, wsMaximized };
-
- enum TShowAction { saIgnore, saRestore, saMinimize, saMaximize };
-
- enum TFormStyle { fsNormal, fsMDIChild, fsMDIForm, fsStayOnTop };
-
- enum TPosition { poDesigned, poDefault, poDefaultPosOnly, poDefaultSizeOnly, poScreenCenter };
-
- enum TTileMode { tbHorizontal, tbVertical };
-
- enum Forms_6 { fsCreating, fsVisible, fsShowing, fsModal, fsCreatedMDIChild };
-
- typedef Set<Forms_6, fsCreating, fsCreatedMDIChild> TFormState;
-
- enum TPrintScale { poNone, poProportional, poPrintToFit };
-
- typedef System::Integer TModalResult;
-
- class __declspec(delphiclass) TOleFormObject;
- class __declspec(pascalimplementation) TOleFormObject : public System::TObject
- {
- typedef TOleFormObject ThisClass;
- typedef System::TObject inherited;
-
- protected:
- virtual void __fastcall OnDestroy(void) = 0;
- virtual void __fastcall OnResize(void) = 0;
- public:
- /* !! TObject.Create */ __fastcall TOleFormObject(void) : System::TObject() { }
- /* !! TObject.Destroy */ __fastcall virtual ~TOleFormObject(void) { }
-
- };
-
- enum TCloseAction { caNone, caHide, caFree, caMinimize };
-
- typedef void __fastcall (__closure *TCloseEvent)(System::TObject *Sender, TCloseAction &Action);
-
- typedef void __fastcall (__closure *TCloseQueryEvent)(System::TObject *Sender, System::Boolean &CanClose
- );
-
- class __declspec(pascalimplementation) TForm : public TScrollingWinControl
- {
- typedef TForm ThisClass;
- typedef TScrollingWinControl inherited;
-
- private:
- Controls::TWinControl *FActiveControl;
- Controls::TWinControl *FFocusedControl;
- TBorderIcons FBorderIcons;
- TFormBorderStyle FBorderStyle;
- TWindowState FWindowState;
- TShowAction FShowAction;
- System::Boolean FKeyPreview;
- System::Boolean FActive;
- System::Boolean FIgnoreFontProperty;
- TFormStyle FFormStyle;
- TPosition FPosition;
- TTileMode FTileMode;
- TFormState FFormState;
- System::Boolean FDropTarget;
- TPrintScale FPrintScale;
- Controls::TControlCanvas *FCanvas;
- Graphics::TIcon *FIcon;
- Menus::TMainMenu *FMenu;
- TModalResult FModalResult;
- TDesigner *FDesigner;
- System::Integer FClientHandle;
- Menus::TMenuItem *FWindowMenu;
- System::Integer FPixelsPerInch;
- Menus::TMenuItem *FObjectMenuItem;
- TOleFormObject *FOleFormObject;
- System::Integer FClientWidth;
- System::Integer FClientHeight;
- System::Integer FTextHeight;
- void *FDefClientProc;
- void *FClientInstance;
- Controls::TWinControl *FActiveOleControl;
- Classes::TNotifyEvent FOnActivate;
- TCloseEvent FOnClose;
- TCloseQueryEvent FOnCloseQuery;
- Classes::TNotifyEvent FOnDeactivate;
- Classes::TNotifyEvent FOnHide;
- Classes::TNotifyEvent FOnPaint;
- Classes::TNotifyEvent FOnResize;
- Classes::TNotifyEvent FOnShow;
- Classes::TNotifyEvent FOnCreate;
- Classes::TNotifyEvent FOnDestroy;
- virtual void __fastcall AlignControls(Controls::TControl *AControl, Windows::TRect &Rect);
- void __fastcall RefreshMDIMenu(void);
- void __fastcall ClientWndProc(Messages::TMessage &Message);
- void __fastcall CloseModal(void);
- TForm *__fastcall GetActiveMDIChild(void);
- Graphics::TCanvas *__fastcall GetCanvas(void);
- System::Integer __fastcall GetIconHandle(void);
- System::Integer __fastcall GetMDIChildCount(void);
- TForm *__fastcall GetMDIChildren(System::Integer I);
- System::Integer __fastcall GetPixelsPerInch(void);
- System::Boolean __fastcall GetScaled(void);
- System::Integer __fastcall GetTextHeight(void);
- void __fastcall IconChanged(System::TObject *Sender);
- System::Boolean __fastcall IsAutoScrollStored(void);
- System::Boolean __fastcall IsClientSizeStored(void);
- System::Boolean __fastcall IsColorStored(void);
- System::Boolean __fastcall IsForm(void);
- System::Boolean __fastcall IsFormSizeStored(void);
- System::Boolean __fastcall IsIconStored(void);
- void __fastcall MergeMenu(System::Boolean MergeState);
- void __fastcall ReadTextHeight(Classes::TReader *Reader);
- void __fastcall SetActive(System::Boolean Value);
- void __fastcall SetActiveControl(Controls::TWinControl *Control);
- void __fastcall SetBorderIcons( TBorderIcons Value);
- void __fastcall SetBorderStyle(TFormBorderStyle Value);
- void __fastcall SetClientHeight(System::Integer Value);
- void __fastcall SetClientWidth(System::Integer Value);
- void __fastcall SetDesigner(TDesigner *ADesigner);
- void __fastcall SetFormStyle(TFormStyle Value);
- void __fastcall SetIcon(Graphics::TIcon *Value);
- void __fastcall SetMenu(Menus::TMainMenu *Value);
- void __fastcall SetPixelsPerInch(System::Integer Value);
- void __fastcall SetPosition(TPosition Value);
- void __fastcall SetScaled(System::Boolean Value);
- void __fastcall SetVisible(System::Boolean Value);
- void __fastcall SetWindowFocus(void);
- void __fastcall SetWindowMenu(Menus::TMenuItem *Value);
- void __fastcall SetObjectMenuItem(Menus::TMenuItem *Value);
- void __fastcall SetWindowState(TWindowState Value);
- void __fastcall WritePixelsPerInch(Classes::TWriter *Writer);
- void __fastcall WriteTextHeight(Classes::TWriter *Writer);
- Graphics::TColor __fastcall NormalColor(void);
- MESSAGE void __fastcall WMPaint(Messages::TWMPaint &Message);
- MESSAGE void __fastcall WMEraseBkgnd(Messages::TWMEraseBkgnd &Message);
- MESSAGE void __fastcall WMIconEraseBkgnd(Messages::TWMEraseBkgnd &Message);
- MESSAGE void __fastcall WMQueryDragIcon(Messages::TWMNoParams &Message);
- MESSAGE void __fastcall WMNCCreate(Messages::TWMNCCreate &Message);
- MESSAGE void __fastcall WMDestroy(Messages::TWMNoParams &Message);
- MESSAGE void __fastcall WMCommand(Messages::TWMCommand &Message);
- MESSAGE void __fastcall WMInitMenuPopup(Messages::TWMInitMenuPopup &Message);
- MESSAGE void __fastcall WMMenuSelect(Messages::TWMMenuSelect &Message);
- MESSAGE void __fastcall WMActivate(Messages::TWMActivate &Message);
- MESSAGE void __fastcall WMSize(Messages::TWMSize &Message);
- MESSAGE void __fastcall WMClose(Messages::TWMNoParams &Message);
- MESSAGE void __fastcall WMQueryEndSession(Messages::TWMQueryEndSession &Message);
- MESSAGE void __fastcall WMSysCommand(Messages::TWMSysCommand &Message);
- MESSAGE void __fastcall WMShowWindow(Messages::TWMShowWindow &Message);
- MESSAGE void __fastcall WMMDIActivate(Messages::TWMMDIActivate &Message);
- MESSAGE void __fastcall WMNextDlgCtl(Messages::TWMNextDlgCtl &Message);
- MESSAGE void __fastcall WMEnterMenuLoop(Messages::TMessage &Message);
- MESSAGE void __fastcall WMHelp(Messages::TWMHelp &Message);
- MESSAGE void __fastcall CMActivate(Messages::TWMNoParams &Message);
- MESSAGE void __fastcall CMAppSysCommand(Messages::TMessage &Message);
- MESSAGE void __fastcall CMDeactivate(Messages::TWMNoParams &Message);
- MESSAGE void __fastcall CMDialogKey(Messages::TWMKey &Message);
- MESSAGE void __fastcall CMColorChanged(Messages::TMessage &Message);
- MESSAGE void __fastcall CMCtl3DChanged(Messages::TMessage &Message);
- MESSAGE void __fastcall CMFontChanged(Messages::TMessage &Message);
- MESSAGE void __fastcall CMMenuChanged(Messages::TMessage &Message);
- MESSAGE void __fastcall CMShowingChanged(Messages::TMessage &Message);
- MESSAGE void __fastcall CMIconChanged(Messages::TMessage &Message);
- MESSAGE void __fastcall CMRelease(Messages::TMessage &Message);
- MESSAGE void __fastcall CMTextChanged(Messages::TMessage &Message);
- MESSAGE void __fastcall CMUIActivate(void *Message);
-
- protected:
- virtual void __fastcall Activate(void);
- virtual void __fastcall ActiveChanged(void);
- virtual void __fastcall ChangeScale(System::Integer M, System::Integer D);
- virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
- virtual void __fastcall CreateWindowHandle(const Controls::TCreateParams &Params);
- virtual void __fastcall CreateWnd(void);
- virtual void __fastcall Deactivate(void);
- virtual void __fastcall DefaultHandler(void *Message);
- virtual void __fastcall DefineProperties(Classes::TFiler *Filer);
- virtual void __fastcall DestroyWindowHandle(void);
- virtual void __fastcall DoHide(void);
- virtual void __fastcall DoShow(void);
- virtual Windows::TRect __fastcall GetClientRect(void);
- virtual void __fastcall GetChildren(Classes::TGetChildProc Proc);
- virtual void __fastcall Notification(Classes::TComponent *AComponent, Classes::TOperation Operation
- );
- virtual void __fastcall Paint(void);
- virtual void __fastcall PaintWindow(System::Integer DC);
- virtual System::Boolean __fastcall PaletteChanged(System::Boolean Foreground);
- virtual void __fastcall SetChildOrder(Classes::TComponent *Child, System::Integer Order);
- virtual void __fastcall ReadState(Classes::TReader *Reader);
- virtual void __fastcall Resize(void);
- virtual void __fastcall SetParent(Controls::TWinControl *AParent);
- virtual void __fastcall ValidateRename(Classes::TComponent *AComponent, const System::AnsiString CurName
- , const System::AnsiString NewName);
- virtual void __fastcall VisibleChanging(void);
- virtual void __fastcall WndProc(Messages::TMessage &Message);
-
- public:
- __fastcall virtual TForm(Classes::TComponent *AOwner);
- __fastcall TForm(Classes::TComponent *AOwner, System::Integer Dummy);
- __fastcall virtual ~TForm(void);
- void __fastcall ArrangeIcons(void);
- void __fastcall Cascade(void);
- void __fastcall Close(void);
- System::Boolean __fastcall CloseQuery(void);
- void __fastcall DefocusControl(Controls::TWinControl *Control, System::Boolean Removing);
- void __fastcall FocusControl(Controls::TWinControl *Control);
- Graphics::TBitmap *__fastcall GetFormImage(void);
- void __fastcall Hide(void);
- void __fastcall Next(void);
- void __fastcall Previous(void);
- void __fastcall Print(void);
- void __fastcall Release(void);
- void __fastcall SendCancelMode(Controls::TControl *Sender);
- virtual void __fastcall SetFocus(void);
- System::Boolean __fastcall SetFocusedControl(Controls::TWinControl *Control);
- void __fastcall Show(void);
- System::Integer __fastcall ShowModal(void);
- void __fastcall Tile(void);
- __property System::Boolean Active = {read=FActive, nodefault};
- __property TForm * ActiveMDIChild = {read=GetActiveMDIChild, nodefault};
- __property Controls::TWinControl * ActiveOleControl = {read=FActiveOleControl, write=FActiveOleControl
- , nodefault};
- __property Graphics::TCanvas * Canvas = {read=GetCanvas, nodefault};
- __property System::Integer ClientHandle = {read=FClientHandle, nodefault};
- __property TDesigner * Designer = {read=FDesigner, write=SetDesigner, nodefault};
- __property System::Boolean DropTarget = {read=FDropTarget, write=FDropTarget, nodefault};
- __property System::Boolean IgnoreFontProperty = {read=FIgnoreFontProperty, write=FIgnoreFontProperty
- , nodefault};
- __property TModalResult ModalResult = {read=FModalResult, write=FModalResult, nodefault};
- __property System::Integer MDIChildCount = {read=GetMDIChildCount, nodefault};
- __property TForm * MDIChildren[System::Integer I] = {read=GetMDIChildren};
- __property TOleFormObject * OleFormObject = {read=FOleFormObject, write=FOleFormObject, nodefault};
-
- __property TTileMode TileMode = {read=FTileMode, write=FTileMode, default=0};
-
- __published:
- __property Controls::TWinControl * ActiveControl = {read=FActiveControl, write=SetActiveControl, stored=
- IsForm, nodefault};
- __property TBorderIcons BorderIcons = {read=FBorderIcons, write=SetBorderIcons, stored=IsForm, default=7
- };
- __property TFormBorderStyle BorderStyle = {read=FBorderStyle, write=SetBorderStyle, stored=IsForm,
- default=2};
- __property AutoScroll = {stored=IsAutoScrollStored, default=1};
- __property Caption = {stored=IsForm};
- __property ClientHeight = {write=SetClientHeight, stored=IsClientSizeStored};
- __property ClientWidth = {write=SetClientWidth, stored=IsClientSizeStored};
- __property Ctl3D ;
- __property Color = {stored=IsColorStored, default=-2147483643};
- __property Enabled ;
- __property Font ;
- __property TFormStyle FormStyle = {read=FFormStyle, write=SetFormStyle, stored=IsForm, default=0};
- __property Height = {stored=IsFormSizeStored};
- __property HorzScrollBar = {stored=IsForm};
- __property Graphics::TIcon * Icon = {read=FIcon, write=SetIcon, stored=IsIconStored, nodefault};
- __property ImeMode ;
- __property System::Boolean KeyPreview = {read=FKeyPreview, write=FKeyPreview, stored=IsForm, default=0
- };
- __property Menus::TMainMenu * Menu = {read=FMenu, write=SetMenu, stored=IsForm, nodefault};
- __property Menus::TMenuItem * ObjectMenuItem = {read=FObjectMenuItem, write=SetObjectMenuItem, stored=
- IsForm, nodefault};
- __property System::Integer PixelsPerInch = {read=GetPixelsPerInch, write=SetPixelsPerInch, stored=false
- , nodefault};
- __property PopupMenu = {stored=IsForm};
- __property TPosition Position = {read=FPosition, write=SetPosition, stored=IsForm, default=0};
- __property TPrintScale PrintScale = {read=FPrintScale, write=FPrintScale, stored=IsForm, default=1}
- ;
- __property System::Boolean Scaled = {read=GetScaled, write=SetScaled, stored=IsForm, default=1};
- __property ShowHint ;
- __property VertScrollBar = {stored=IsForm};
- __property Visible = {write=SetVisible, default=0};
- __property Width = {stored=IsFormSizeStored};
- __property TWindowState WindowState = {read=FWindowState, write=SetWindowState, stored=IsForm, default=0
- };
- __property Menus::TMenuItem * WindowMenu = {read=FWindowMenu, write=SetWindowMenu, stored=IsForm, nodefault
- };
- __property Classes::TNotifyEvent OnActivate = {read=FOnActivate, write=FOnActivate, stored=IsForm};
-
- __property OnClick = {stored=IsForm};
- __property TCloseEvent OnClose = {read=FOnClose, write=FOnClose, stored=IsForm};
- __property TCloseQueryEvent OnCloseQuery = {read=FOnCloseQuery, write=FOnCloseQuery, stored=IsForm}
- ;
- __property Classes::TNotifyEvent OnCreate = {read=FOnCreate, write=FOnCreate, stored=IsForm};
- __property OnDblClick = {stored=IsForm};
- __property Classes::TNotifyEvent OnDestroy = {read=FOnDestroy, write=FOnDestroy, stored=IsForm};
- __property Classes::TNotifyEvent OnDeactivate = {read=FOnDeactivate, write=FOnDeactivate, stored=IsForm
- };
- __property OnDragDrop = {stored=IsForm};
- __property OnDragOver = {stored=IsForm};
- __property Classes::TNotifyEvent OnHide = {read=FOnHide, write=FOnHide, stored=IsForm};
- __property OnKeyDown = {stored=IsForm};
- __property OnKeyPress = {stored=IsForm};
- __property OnKeyUp = {stored=IsForm};
- __property OnMouseDown = {stored=IsForm};
- __property OnMouseMove = {stored=IsForm};
- __property OnMouseUp = {stored=IsForm};
- __property Classes::TNotifyEvent OnPaint = {read=FOnPaint, write=FOnPaint, stored=IsForm};
- __property Classes::TNotifyEvent OnResize = {read=FOnResize, write=FOnResize, stored=IsForm};
- __property Classes::TNotifyEvent OnShow = {read=FOnShow, write=FOnShow, stored=IsForm};
- };
-
- class __declspec(pascalimplementation) TDesigner : public System::TObject
- {
- typedef TDesigner ThisClass;
- typedef System::TObject inherited;
-
- private:
- TForm *FForm;
- System::Boolean __fastcall GetIsControl(void);
- void __fastcall SetIsControl(System::Boolean Value);
-
- public:
- virtual System::Boolean __fastcall IsDesignMsg(Controls::TControl *Sender, Messages::TMessage &Message
- ) = 0;
- virtual void __fastcall Modified(void) = 0;
- virtual void __fastcall Notification(Classes::TComponent *AComponent, Classes::TOperation Operation
- ) = 0;
- virtual void __fastcall PaintGrid(void) = 0;
- virtual void __fastcall ValidateRename(Classes::TComponent *AComponent, const System::AnsiString CurName
- , const System::AnsiString NewName) = 0;
- __property System::Boolean IsControl = {read=GetIsControl, write=SetIsControl, nodefault};
- __property TForm * Form = {read=FForm, write=FForm, nodefault};
- public:
- /* !! TObject.Create */ __fastcall TDesigner(void) : System::TObject() { }
- /* !! TObject.Destroy */ __fastcall virtual ~TDesigner(void) { }
-
- };
-
- typedef System::TMetaClass *TFormClass;
-
- class __declspec(delphiclass) TDataModule;
- class __declspec(pascalimplementation) TDataModule : public Classes::TComponent
- {
- typedef TDataModule ThisClass;
- typedef Classes::TComponent inherited;
-
- private:
- Windows::TPoint FDesignSize;
- Windows::TPoint FDesignOffset;
- Classes::TNotifyEvent FOnCreate;
- Classes::TNotifyEvent FOnDestroy;
- void __fastcall ReadHeight(Classes::TReader *Reader);
- void __fastcall ReadHorizontalOffset(Classes::TReader *Reader);
- void __fastcall ReadVerticalOffset(Classes::TReader *Reader);
- void __fastcall ReadWidth(Classes::TReader *Reader);
- void __fastcall WriteWidth(Classes::TWriter *Writer);
- void __fastcall WriteHorizontalOffset(Classes::TWriter *Writer);
- void __fastcall WriteVerticalOffset(Classes::TWriter *Writer);
- void __fastcall WriteHeight(Classes::TWriter *Writer);
-
- protected:
- virtual void __fastcall DefineProperties(Classes::TFiler *Filer);
- virtual void __fastcall GetChildren(Classes::TGetChildProc Proc);
-
- public:
- __fastcall virtual TDataModule(Classes::TComponent *AOwner);
- __fastcall TDataModule(Classes::TComponent *AOwner, System::Integer Dummy);
- __fastcall virtual ~TDataModule(void);
- __property Windows::TPoint DesignOffset = {read=FDesignOffset, write=FDesignOffset};
- __property Windows::TPoint DesignSize = {read=FDesignSize, write=FDesignSize};
-
- __published:
- __property Classes::TNotifyEvent OnCreate = {read=FOnCreate, write=FOnCreate};
- __property Classes::TNotifyEvent OnDestroy = {read=FOnDestroy, write=FOnDestroy};
- };
-
- struct TCursorRec;
- typedef TCursorRec *PCursorRec;
-
- struct TCursorRec
- {
- TCursorRec *Next;
- System::Integer Index;
- System::Integer Handle;
- } ;
-
- class __declspec(delphiclass) TScreen;
- class __declspec(pascalimplementation) TScreen : public Classes::TComponent
- {
- typedef TScreen ThisClass;
- typedef Classes::TComponent inherited;
-
- private:
- Classes::TStrings *FFonts;
- System::Integer FPixelsPerInch;
- Controls::TCursor FCursor;
- Classes::TList *FForms;
- Classes::TList *FDataModules;
- TCursorRec *FCursorList;
- System::Integer FDefaultCursor;
- Controls::TWinControl *FActiveControl;
- TForm *FActiveForm;
- Controls::TWinControl *FLastActiveControl;
- TForm *FLastActiveForm;
- TForm *FFocusedForm;
- Classes::TNotifyEvent FOnActiveControlChange;
- Classes::TNotifyEvent FOnActiveFormChange;
- void __fastcall AddDataModule(TDataModule *DataModule);
- void __fastcall AddForm(TForm *AForm);
- void __fastcall CreateCursors(void);
- void __fastcall DeleteCursor(System::Integer Index);
- void __fastcall DestroyCursors(void);
- System::Integer __fastcall GetCursors(System::Integer Index);
- TDataModule *__fastcall GetDataModule(System::Integer Index);
- System::Integer __fastcall GetDataModuleCount(void);
- System::Integer __fastcall GetHeight(void);
- System::Integer __fastcall GetWidth(void);
- TForm *__fastcall GetForm(System::Integer Index);
- System::Integer __fastcall GetFormCount(void);
- void __fastcall InsertCursor(System::Integer Index, System::Integer Handle);
- void __fastcall RemoveDataModule(TDataModule *DataModule);
- void __fastcall RemoveForm(TForm *AForm);
- void __fastcall SetCursors(System::Integer Index, System::Integer Handle);
- void __fastcall SetCursor(Controls::TCursor Value);
- void __fastcall UpdateLastActive(void);
-
- public:
- __fastcall virtual TScreen(Classes::TComponent *AOwner);
- __fastcall virtual ~TScreen(void);
- __property Controls::TWinControl * ActiveControl = {read=FActiveControl, nodefault};
- __property TForm * ActiveForm = {read=FActiveForm, nodefault};
- __property Controls::TCursor Cursor = {read=FCursor, write=SetCursor, nodefault};
- __property System::Integer Cursors[System::Integer Index] = {read=GetCursors, write=SetCursors};
- __property TDataModule * DataModules[System::Integer Index] = {read=GetDataModule};
- __property System::Integer DataModuleCount = {read=GetDataModuleCount, nodefault};
- __property Classes::TStrings * Fonts = {read=FFonts, nodefault};
- __property System::Integer Height = {read=GetHeight, nodefault};
- __property System::Integer PixelsPerInch = {read=FPixelsPerInch, nodefault};
- __property System::Integer Width = {read=GetWidth, nodefault};
- __property TForm * Forms[System::Integer Index] = {read=GetForm};
- __property System::Integer FormCount = {read=GetFormCount, nodefault};
- __property Classes::TNotifyEvent OnActiveControlChange = {read=FOnActiveControlChange, write=FOnActiveControlChange
- };
- __property Classes::TNotifyEvent OnActiveFormChange = {read=FOnActiveFormChange, write=FOnActiveFormChange
- };
- };
-
- enum TTimerMode { tmShow, tmHide };
-
- struct THintInfo
- {
- Controls::TControl *HintControl;
- Windows::TPoint HintPos;
- System::Integer HintMaxWidth;
- Graphics::TColor HintColor;
- Windows::TRect CursorRect;
- Windows::TPoint CursorPos;
- } ;
-
- typedef void __fastcall (__closure *TMessageEvent)(Windows::TMsg &Msg, System::Boolean &Handled);
-
- typedef void __fastcall (__closure *TExceptionEvent)(System::TObject *Sender, Sysutils::Exception *E
- );
-
- typedef void __fastcall (__closure *TIdleEvent)(System::TObject *Sender, System::Boolean &Done);
-
- typedef void __fastcall (__closure *TShowHintEvent)( System::AnsiString &HintStr, System::Boolean &CanShow
- , THintInfo &HintInfo);
-
- typedef System::Boolean __fastcall (__closure *TWindowHook)(Messages::TMessage &Message);
-
- class __declspec(delphiclass) TApplication;
- class __declspec(pascalimplementation) TApplication : public Classes::TComponent
- {
- typedef TApplication ThisClass;
- typedef Classes::TComponent inherited;
-
- private:
- System::Integer FHandle;
- void *FObjectInstance;
- TForm *FMainForm;
- Controls::TControl *FMouseControl;
- System::AnsiString FHelpFile;
- System::AnsiString FHint;
- System::Boolean FHintActive;
- System::Boolean FUpdateFormatSettings;
- System::Boolean FShowMainForm;
- Graphics::TColor FHintColor;
- Controls::TControl *FHintControl;
- Windows::TRect FHintCursorRect;
- System::Integer FHintPause;
- System::Integer FHintShortPause;
- System::Integer FHintHidePause;
- Controls::THintWindow *FHintWindow;
- System::Boolean FShowHint;
- System::Boolean FTimerActive;
- TTimerMode FTimerMode;
- System::Word FTimerHandle;
- System::AnsiString FTitle;
- Classes::TList *FTopMostList;
- System::Integer FTopMostLevel;
- Graphics::TIcon *FIcon;
- System::Boolean FTerminate;
- System::Boolean FActive;
- System::Boolean FIgnoreFontProperty;
- System::Boolean FHandleCreated;
- System::Boolean FRunning;
- Classes::TList *FWindowHooks;
- void *FWindowList;
- System::Integer FDialogHandle;
- TExceptionEvent FOnException;
- TMessageEvent FOnMessage;
- Classes::THelpEvent FOnHelp;
- Classes::TNotifyEvent FOnHint;
- TIdleEvent FOnIdle;
- Classes::TNotifyEvent FOnDeactivate;
- Classes::TNotifyEvent FOnActivate;
- TShowHintEvent FOnShowHint;
- Classes::TNotifyEvent FOnMinimize;
- Classes::TNotifyEvent FOnRestore;
- void __fastcall ActivateHint(const Windows::TPoint &CursorPos);
- System::Boolean __fastcall CheckIniChange(Messages::TMessage &Message);
- System::Integer __fastcall GetDialogHandle(void);
- System::AnsiString __fastcall GetExeName(void);
- System::Integer __fastcall GetIconHandle(void);
- System::AnsiString __fastcall GetTitle(void);
- void __fastcall HintTimerExpired(void);
- void __fastcall IconChanged(System::TObject *Sender);
- void __fastcall Idle(void);
- System::Boolean __fastcall InvokeHelp(System::Word Command, System::Longint Data);
- System::Boolean __fastcall IsDlgMsg(Windows::TMsg &Msg);
- System::Boolean __fastcall IsHintMsg(Windows::TMsg &Msg);
- System::Boolean __fastcall IsKeyMsg(Windows::TMsg &Msg);
- System::Boolean __fastcall IsMDIMsg(Windows::TMsg &Msg);
- void __fastcall NotifyForms(System::Word Msg);
- System::Boolean __fastcall ProcessMessage(void);
- void __fastcall SetDialogHandle(System::Integer Value);
- void __fastcall SetHandle(System::Integer Value);
- void __fastcall SetHint(const System::AnsiString Value);
- void __fastcall SetHintColor(Graphics::TColor Value);
- void __fastcall SetIcon(Graphics::TIcon *Value);
- void __fastcall SetShowHint(System::Boolean Value);
- void __fastcall SetTitle(const System::AnsiString Value);
- void __fastcall StartHintTimer(System::Integer Value, TTimerMode TimerMode);
- void __fastcall StopHintTimer(void);
- void __fastcall WndProc(Messages::TMessage &Message);
-
- public:
- __fastcall virtual TApplication(Classes::TComponent *AOwner);
- __fastcall virtual ~TApplication(void);
- void __fastcall BringToFront(void);
- void __fastcall ControlDestroyed(Controls::TControl *Control);
- void __fastcall CancelHint(void);
- void __fastcall CreateForm(System::TMetaClass * InstanceClass, void *Reference);
- void __fastcall CreateHandle(void);
- void __fastcall HandleException(System::TObject *Sender);
- void __fastcall HandleMessage(void);
- System::Boolean __fastcall HelpCommand(System::Integer Command, System::Longint Data);
- System::Boolean __fastcall HelpContext(Classes::THelpContext Context);
- System::Boolean __fastcall HelpJump(const System::AnsiString JumpID);
- void __fastcall HideHint(void);
- void __fastcall HintMouseMessage(Controls::TControl *Control, Messages::TMessage &Message);
- void __fastcall HookMainWindow(TWindowHook Hook);
- void __fastcall Initialize(void);
- System::Integer __fastcall MessageBox(System::PChar Text, System::PChar Caption, System::Word Flags
- );
- void __fastcall Minimize(void);
- void __fastcall NormalizeTopMosts(void);
- void __fastcall ProcessMessages(void);
- void __fastcall Restore(void);
- void __fastcall RestoreTopMosts(void);
- void __fastcall Run(void);
- void __fastcall ShowException(Sysutils::Exception *E);
- void __fastcall Terminate(void);
- void __fastcall UnhookMainWindow(TWindowHook Hook);
- __property System::Boolean Active = {read=FActive, nodefault};
- __property System::Integer DialogHandle = {read=GetDialogHandle, write=SetDialogHandle, nodefault};
-
- __property System::AnsiString ExeName = {read=GetExeName, nodefault};
- __property System::Integer Handle = {read=FHandle, write=SetHandle, nodefault};
- __property System::AnsiString HelpFile = {read=FHelpFile, write=FHelpFile, nodefault};
- __property System::AnsiString Hint = {read=FHint, write=SetHint, nodefault};
- __property Graphics::TColor HintColor = {read=FHintColor, write=SetHintColor, nodefault};
- __property System::Integer HintPause = {read=FHintPause, write=FHintPause, nodefault};
- __property System::Integer HintShortPause = {read=FHintShortPause, write=FHintShortPause, nodefault
- };
- __property System::Integer HintHidePause = {read=FHintHidePause, write=FHintHidePause, nodefault};
- __property Graphics::TIcon * Icon = {read=FIcon, write=SetIcon, nodefault};
- __property System::Boolean IgnoreFontProperty = {read=FIgnoreFontProperty, write=FIgnoreFontProperty
- , nodefault};
- __property TForm * MainForm = {read=FMainForm, nodefault};
- __property System::Boolean ShowHint = {read=FShowHint, write=SetShowHint, nodefault};
- __property System::Boolean ShowMainForm = {read=FShowMainForm, write=FShowMainForm, nodefault};
- __property System::Boolean Terminated = {read=FTerminate, nodefault};
- __property System::AnsiString Title = {read=GetTitle, write=SetTitle, nodefault};
- __property System::Boolean UpdateFormatSettings = {read=FUpdateFormatSettings, write=FUpdateFormatSettings
- , nodefault};
- __property Classes::TNotifyEvent OnActivate = {read=FOnActivate, write=FOnActivate};
- __property Classes::TNotifyEvent OnDeactivate = {read=FOnDeactivate, write=FOnDeactivate};
- __property TExceptionEvent OnException = {read=FOnException, write=FOnException};
- __property TIdleEvent OnIdle = {read=FOnIdle, write=FOnIdle};
- __property Classes::THelpEvent OnHelp = {read=FOnHelp, write=FOnHelp};
- __property Classes::TNotifyEvent OnHint = {read=FOnHint, write=FOnHint};
- __property TMessageEvent OnMessage = {read=FOnMessage, write=FOnMessage};
- __property Classes::TNotifyEvent OnMinimize = {read=FOnMinimize, write=FOnMinimize};
- __property Classes::TNotifyEvent OnRestore = {read=FOnRestore, write=FOnRestore};
- __property TShowHintEvent OnShowHint = {read=FOnShowHint, write=FOnShowHint};
- };
-
- typedef void __fastcall (__closure *TWndMethod)(Messages::TMessage &Message);
-
- //-- var, const, procedure ---------------------------------------------------
- extern TApplication *Application;
- extern TScreen *Screen;
- extern void *Ctl3DBtnWndProc;
- extern System::Longint __stdcall (*Ctl3DDlgFramePaint)(System::Integer Window, System::Longint Msg,
- System::Longint wParam, System::Longint lParam);
- extern System::Longint __stdcall (*Ctl3DCtlColorEx)(System::Integer Window, System::Longint Msg, System::Longint
- wParam, System::Longint lParam);
- extern System::TMetaClass *HintWindowClass;
- extern System::Pointer __fastcall DisableTaskWindows(System::Integer ActiveWindow);
- extern void __fastcall EnableTaskWindows(System::Pointer WindowList);
- extern void __fastcall InitCtl3D(void);
- extern void __fastcall DoneCtl3D(void);
- extern System::Boolean __fastcall Subclass3DWnd(System::Integer Wnd);
- extern void __fastcall Subclass3DDlg(System::Integer Wnd, System::Word Flags);
- extern void __fastcall SetAutoSubClass(System::Boolean Enable);
- extern System::Pointer __fastcall MakeObjectInstance(TWndMethod Method);
- extern void __fastcall FreeObjectInstance(System::Pointer ObjectInstance);
- extern System::Integer __fastcall AllocateHWnd(TWndMethod Method);
- extern void __fastcall DeallocateHWnd(System::Integer Wnd);
- extern Classes::TShiftState __fastcall KeysToShiftState(System::Word Keys);
- extern Classes::TShiftState __fastcall KeyDataToShiftState(System::Longint KeyData);
- extern System::Boolean __fastcall IsAccel(System::Word VK, const System::AnsiString Str);
- extern TForm *__fastcall GetParentForm(Controls::TControl *Control);
- extern TForm *__fastcall ValidParentForm(Controls::TControl *Control);
- //-- template instantiations -------------------------------------------------
- template class TFormState ;
- template class TBorderIcons ;
-
- } /* namespace Forms */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Forms;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Forms
-