Class twindow

Unit

Declaration

type twindow = class(teventobject, icanvas)

Description

No description available, ancestor teventobject description follows
No description available, ancestor tlinkedobject description follows
No description available, ancestor tnullinterfacedobject description follows

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;
 
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;
 

Generated by PasDoc 0.16.0.