Class twindow

Unit

Declaration

type twindow = class(teventobject, icanvas)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected fstate: windowstatesty;
Protected fgdi: pgdifunctionaty;
Protected fwindow: windowty;
Protected fcontainer: winidty;
Protected fownerwidget: twidget;
Protected fcanvas: tcanvas;
Protected fasynccanvas: tcanvas;
Protected fmodalresult: modalresultty;
Protected fupdateregion: gdiregionty;

Methods

Protected procedure setasynccanvas(const acanvas: tcanvas);
Protected procedure releaseasynccanvas;
Protected procedure processsysdnd(const event: twindowevent);
Protected function getwindowsize: windowsizety;
Protected procedure setwindowsize(const value: windowsizety);
Protected function getwindowpos: windowposty;
Protected procedure setwindowpos(const Value: windowposty);
Protected procedure invalidaterect(const arect: rectty; const sender: twidget = nil);
Protected procedure mouseparked;
Protected procedure movewindowrect(const dist: pointty; const rect: rectty); virtual;
Protected procedure checkmousewidget(const info: mouseeventinfoty; var capture: twidget);
Protected procedure dispatchmouseevent(var info: moeventinfoty; capture: twidget); virtual;
Protected procedure dispatchkeyevent(const eventkind: eventkindty; var info: keyeventinfoty); virtual;
Protected procedure sizechanged; virtual;
Protected procedure poschanged; virtual;
Protected procedure internalactivate(const windowevent: boolean; const force: boolean = false);
Protected procedure noactivewidget;
Protected procedure lockactivate;
Protected procedure unlockactivate;
Protected procedure setzorder(const value: integer);
Protected function topmodaltransientfor: twindow;
Protected function beginmodal(const showinfo: pshowinfoty): boolean; overload;
Public constructor create(const aowner: twidget; const agdi: pgdifunctionaty = nil);
Public destructor destroy; override;
Public procedure destroywindow;
Public procedure recreatewindow();
Public procedure registeronscroll(const method: notifyeventty);
Public procedure unregisteronscroll(const method: notifyeventty);
Public function beginmodal: boolean; overload;
Public procedure endmodal;
Public function modal: boolean;
Public function modalwindowbefore: twindow;
Public function transientforstackactive: boolean;
Public procedure activate(const force: boolean = false);
Public function active: boolean;
Public function deactivateintermediate: boolean;
Public procedure reactivate(const force: boolean = false);
Public procedure update;
Public function candefocus: boolean;
Public procedure nofocus;
Public function close: boolean; overload;
Public function close(const amodalresult: modalresultty): boolean; overload;
Public procedure beginmoving;
Public procedure endmoving;
Public procedure bringtofront;
Public procedure bringtofrontlocal;
Public procedure sendtoback;
Public procedure sendtobacklocal;
Public procedure stackunder(const predecessor: twindow);
Public procedure stackover(const predecessor: twindow);
Public function stackedunder(const avisible: boolean = false): twindow;
Public function stackedover(const avisible: boolean = false): twindow;
Public function hastransientfor: boolean;
Public function istransientfor(const base: twindow): boolean;
Public function defaulttransientfor: twindow;
Public function capturemouse: boolean;
Public procedure releasemouse;
Public function mousecaptured: boolean;
Public procedure postkeyevent(const akey: keyty; const ashiftstate: shiftstatesty = []; const release: boolean = false; const achars: msestring = '');
Public function winid: winidty;
Public function haswinid: boolean;
Public function state: windowstatesty;
Public function visible: boolean;
Public function activating: boolean;
Public function normalwindowrect: rectty;
Public function updaterect: rectty;
Public procedure registermovenotification(sender: iobjectlink);
Public procedure unregistermovenotification(sender: iobjectlink);
Public function ispopup: boolean;
Public function firstfocuswidget(): twidget;
Public function lastfocuswidget(): twidget;

Properties

Public property focuscount: longword read ffocuscount;
Public property updateregion: regionty read fupdateregion.region;
Public property options: windowoptionsty read foptions;
Public property owner: twidget read fownerwidget;
Public property focusedwidget: twidget read ffocusedwidget;
Public property transientfor: twindow read ftransientfor;
Public property modalfor: boolean read getmodalfor;
Public property modalresult: modalresultty read fmodalresult write setmodalresult;
Public property buttonendmodal: boolean read getbuttonendmodal write setbuttonendmodal;
Public property globalshortcuts: boolean read getglobalshortcuts write setglobalshortcuts;
Public property localshortcuts: boolean read getlocalshortcuts write setlocalshortcuts;
Public property windowpos: windowposty read getwindowpos write setwindowpos;
Public property caption: msestring read fcaption write setcaption;
Public property container: winidty read fcontainer write setcontainer default 0;
Public property syscontainer: syswindowty read fsyscontainer write setsyscontainer default sywi_none;
Public property screenpos: pointty read getscreenpos write setscreenpos;
Public property decoratedwidgetrect: rectty read getdecoratedwidgetrect write setdecoratedwidgetrect;
Public property decoratedpos: pointty read getdecoratedpos write setdecoratedpos;
Public property decoratedsize: sizety read getdecoratedsize write setdecoratedsize;
Public property decoratedbounds_x: integer read getdecoratedbounds_x write setdecoratedbounds_x;
Public property decoratedbounds_y: integer read getdecoratedbounds_y write setdecoratedbounds_y;
Public property decoratedbounds_cx: integer read getdecoratedbounds_cx write setdecoratedbounds_cx;
Public property decoratedbounds_cy: integer read getdecoratedbounds_cy write setdecoratedbounds_cy;
Public property opacity: realty read fopacity write setopacity;

Description

Fields

Protected fstate: windowstatesty;

This item has no description.

Protected fgdi: pgdifunctionaty;

This item has no description.

Protected fwindow: windowty;

This item has no description.

Protected fcontainer: winidty;

This item has no description.

Protected fownerwidget: twidget;

This item has no description.

Protected fcanvas: tcanvas;

This item has no description.

Protected fasynccanvas: tcanvas;

This item has no description.

Protected fmodalresult: modalresultty;

This item has no description.

Protected fupdateregion: gdiregionty;

This item has no description.

Methods

Protected procedure setasynccanvas(const acanvas: tcanvas);

This item has no description.

Protected procedure releaseasynccanvas;

This item has no description.

Protected procedure processsysdnd(const event: twindowevent);

This item has no description.

Protected function getwindowsize: windowsizety;

This item has no description.

Protected procedure setwindowsize(const value: windowsizety);

This item has no description.

Protected function getwindowpos: windowposty;

This item has no description.

Protected procedure setwindowpos(const Value: windowposty);

This item has no description.

Protected procedure invalidaterect(const arect: rectty; const sender: twidget = nil);

This item has no description.

Protected procedure mouseparked;

This item has no description.

Protected procedure movewindowrect(const dist: pointty; const rect: rectty); virtual;

This item has no description.

Protected procedure checkmousewidget(const info: mouseeventinfoty; var capture: twidget);

This item has no description.

Protected procedure dispatchmouseevent(var info: moeventinfoty; capture: twidget); virtual;

This item has no description.

Protected procedure dispatchkeyevent(const eventkind: eventkindty; var info: keyeventinfoty); virtual;

This item has no description.

Protected procedure sizechanged; virtual;

This item has no description.

Protected procedure poschanged; virtual;

This item has no description.

Protected procedure internalactivate(const windowevent: boolean; const force: boolean = false);

This item has no description.

Protected procedure noactivewidget;

This item has no description.

Protected procedure lockactivate;

This item has no description.

Protected procedure unlockactivate;

This item has no description.

Protected procedure setzorder(const value: integer);

This item has no description.

Protected function topmodaltransientfor: twindow;

This item has no description.

Protected function beginmodal(const showinfo: pshowinfoty): boolean; overload;

This item has no description.

Public constructor create(const aowner: twidget; const agdi: pgdifunctionaty = nil);

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure destroywindow;

This item has no description.

Public procedure recreatewindow();

This item has no description.

Public procedure registeronscroll(const method: notifyeventty);

This item has no description.

Public procedure unregisteronscroll(const method: notifyeventty);

This item has no description.

Public function beginmodal: boolean; overload;

This item has no description.

Public procedure endmodal;

This item has no description.

Public function modal: boolean;

This item has no description.

Public function modalwindowbefore: twindow;

This item has no description.

Public function transientforstackactive: boolean;

This item has no description.

Public procedure activate(const force: boolean = false);

This item has no description.

Public function active: boolean;

This item has no description.

Public function deactivateintermediate: boolean;

This item has no description.

Public procedure reactivate(const force: boolean = false);

This item has no description.

Public procedure update;

This item has no description.

Public function candefocus: boolean;

This item has no description.

Public procedure nofocus;

This item has no description.

Public function close: boolean; overload;

This item has no description.

Public function close(const amodalresult: modalresultty): boolean; overload;

This item has no description.

Public procedure beginmoving;

This item has no description.

Public procedure endmoving;

This item has no description.

Public procedure bringtofront;

This item has no description.

Public procedure bringtofrontlocal;

This item has no description.

Public procedure sendtoback;

This item has no description.

Public procedure sendtobacklocal;

This item has no description.

Public procedure stackunder(const predecessor: twindow);

This item has no description.

Public procedure stackover(const predecessor: twindow);

This item has no description.

Public function stackedunder(const avisible: boolean = false): twindow;

This item has no description.

Public function stackedover(const avisible: boolean = false): twindow;

This item has no description.

Public function hastransientfor: boolean;

This item has no description.

Public function istransientfor(const base: twindow): boolean;

This item has no description.

Public function defaulttransientfor: twindow;

This item has no description.

Public function capturemouse: boolean;

This item has no description.

Public procedure releasemouse;

This item has no description.

Public function mousecaptured: boolean;

This item has no description.

Public procedure postkeyevent(const akey: keyty; const ashiftstate: shiftstatesty = []; const release: boolean = false; const achars: msestring = '');

This item has no description.

Public function winid: winidty;

This item has no description.

Public function haswinid: boolean;

This item has no description.

Public function state: windowstatesty;

This item has no description.

Public function visible: boolean;

This item has no description.

Public function activating: boolean;

This item has no description.

Public function normalwindowrect: rectty;

This item has no description.

Public function updaterect: rectty;

This item has no description.

Public procedure registermovenotification(sender: iobjectlink);

This item has no description.

Public procedure unregistermovenotification(sender: iobjectlink);

This item has no description.

Public function ispopup: boolean;

This item has no description.

Public function firstfocuswidget(): twidget;

This item has no description.

Public function lastfocuswidget(): twidget;

This item has no description.

Properties

Public property focuscount: longword read ffocuscount;

This item has no description.

Public property updateregion: regionty read fupdateregion.region;

This item has no description.

Public property options: windowoptionsty read foptions;

This item has no description.

Public property owner: twidget read fownerwidget;

This item has no description.

Public property focusedwidget: twidget read ffocusedwidget;

This item has no description.

Public property transientfor: twindow read ftransientfor;

This item has no description.

Public property modalfor: boolean read getmodalfor;

This item has no description.

Public property modalresult: modalresultty read fmodalresult write setmodalresult;

This item has no description.

Public property buttonendmodal: boolean read getbuttonendmodal write setbuttonendmodal;

This item has no description.

Public property globalshortcuts: boolean read getglobalshortcuts write setglobalshortcuts;

This item has no description.

Public property localshortcuts: boolean read getlocalshortcuts write setlocalshortcuts;

This item has no description.

Public property windowpos: windowposty read getwindowpos write setwindowpos;

This item has no description.

Public property caption: msestring read fcaption write setcaption;

This item has no description.

Public property container: winidty read fcontainer write setcontainer default 0;

This item has no description.

Public property syscontainer: syswindowty read fsyscontainer write setsyscontainer default sywi_none;

This item has no description.

Public property screenpos: pointty read getscreenpos write setscreenpos;

This item has no description.

Public property decoratedwidgetrect: rectty read getdecoratedwidgetrect write setdecoratedwidgetrect;

This item has no description.

Public property decoratedpos: pointty read getdecoratedpos write setdecoratedpos;

This item has no description.

Public property decoratedsize: sizety read getdecoratedsize write setdecoratedsize;

This item has no description.

Public property decoratedbounds_x: integer read getdecoratedbounds_x write setdecoratedbounds_x;

This item has no description.

Public property decoratedbounds_y: integer read getdecoratedbounds_y write setdecoratedbounds_y;

This item has no description.

Public property decoratedbounds_cx: integer read getdecoratedbounds_cx write setdecoratedbounds_cx;

This item has no description.

Public property decoratedbounds_cy: integer read getdecoratedbounds_cy write setdecoratedbounds_cy;

This item has no description.

Public property opacity: realty read fopacity write setopacity;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.