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
- tobject
- tnullinterfacedobject
- tlinkedobject
- teventobject
- twindow
Overview
Fields
Methods
procedure setasynccanvas(const acanvas: tcanvas); |
|
procedure releaseasynccanvas; |
|
procedure processsysdnd(const event: twindowevent); |
|
function getwindowsize: windowsizety; |
|
procedure setwindowsize(const value: windowsizety); |
|
function getwindowpos: windowposty; |
|
procedure setwindowpos(const Value: windowposty); |
|
procedure invalidaterect(const arect: rectty; const sender: twidget = nil); |
|
procedure mouseparked; |
|
procedure movewindowrect(const dist: pointty; const rect: rectty); virtual; |
|
procedure checkmousewidget(const info: mouseeventinfoty; var capture: twidget); |
|
procedure dispatchmouseevent(var info: moeventinfoty; capture: twidget); virtual; |
|
procedure dispatchkeyevent(const eventkind: eventkindty; var info: keyeventinfoty); virtual; |
|
procedure sizechanged; virtual; |
|
procedure poschanged; virtual; |
|
procedure internalactivate(const windowevent: boolean; const force: boolean = false); |
|
procedure noactivewidget; |
|
procedure lockactivate; |
|
procedure unlockactivate; |
|
procedure setzorder(const value: integer); |
|
function topmodaltransientfor: twindow; |
|
function beginmodal(const showinfo: pshowinfoty): boolean; overload; |
|
constructor create(const aowner: twidget; const agdi: pgdifunctionaty = nil); |
|
destructor destroy; override; |
|
procedure destroywindow; |
|
procedure recreatewindow(); |
|
procedure registeronscroll(const method: notifyeventty); |
|
procedure unregisteronscroll(const method: notifyeventty); |
|
function beginmodal: boolean; overload; |
|
procedure endmodal; |
|
function modal: boolean; |
|
function modalwindowbefore: twindow; |
|
function transientforstackactive: boolean; |
|
procedure activate(const force: boolean = false); |
|
function active: boolean; |
|
function deactivateintermediate: boolean; |
|
procedure reactivate(const force: boolean = false); |
|
procedure update; |
|
function candefocus: boolean; |
|
procedure nofocus; |
|
function close: boolean; overload; |
|
function close(const amodalresult: modalresultty): boolean; overload; |
|
procedure beginmoving; |
|
procedure endmoving; |
|
procedure bringtofront; |
|
procedure bringtofrontlocal; |
|
procedure sendtoback; |
|
procedure sendtobacklocal; |
|
procedure stackunder(const predecessor: twindow); |
|
procedure stackover(const predecessor: twindow); |
|
function stackedunder(const avisible: boolean = false): twindow; |
|
function stackedover(const avisible: boolean = false): twindow; |
|
function hastransientfor: boolean; |
|
function istransientfor(const base: twindow): boolean; |
|
function defaulttransientfor: twindow; |
|
function capturemouse: boolean; |
|
procedure releasemouse; |
|
function mousecaptured: boolean; |
|
procedure postkeyevent(const akey: keyty; const ashiftstate: shiftstatesty = []; const release: boolean = false; const achars: msestring = ''); |
|
function winid: winidty; |
|
function haswinid: boolean; |
|
function state: windowstatesty; |
|
function visible: boolean; |
|
function activating: boolean; |
|
function normalwindowrect: rectty; |
|
function updaterect: rectty; |
|
procedure registermovenotification(sender: iobjectlink); |
|
procedure unregistermovenotification(sender: iobjectlink); |
|
function ispopup: boolean; |
|
function firstfocuswidget(): twidget; |
|
function lastfocuswidget(): twidget; |
Properties
property focuscount: longword read ffocuscount; |
|
property updateregion: regionty read fupdateregion.region; |
|
property options: windowoptionsty read foptions; |
|
property owner: twidget read fownerwidget; |
|
property focusedwidget: twidget read ffocusedwidget; |
|
property transientfor: twindow read ftransientfor; |
|
property modalfor: boolean read getmodalfor; |
|
property modalresult: modalresultty read fmodalresult write setmodalresult; |
|
property buttonendmodal: boolean read getbuttonendmodal write setbuttonendmodal; |
|
property globalshortcuts: boolean read getglobalshortcuts write setglobalshortcuts; |
|
property localshortcuts: boolean read getlocalshortcuts write setlocalshortcuts; |
|
property windowpos: windowposty read getwindowpos write setwindowpos; |
|
property caption: msestring read fcaption write setcaption; |
|
property container: winidty read fcontainer
write setcontainer default 0; |
|
property syscontainer: syswindowty read fsyscontainer
write setsyscontainer default sywi_none; |
|
property screenpos: pointty read getscreenpos write setscreenpos; |
|
property decoratedwidgetrect: rectty read getdecoratedwidgetrect
write setdecoratedwidgetrect; |
|
property decoratedpos: pointty read getdecoratedpos
write setdecoratedpos; |
|
property decoratedsize: sizety read getdecoratedsize
write setdecoratedsize; |
|
property decoratedbounds_x: integer read getdecoratedbounds_x
write setdecoratedbounds_x; |
|
property decoratedbounds_y: integer read getdecoratedbounds_y
write setdecoratedbounds_y; |
|
property decoratedbounds_cx: integer read getdecoratedbounds_cx
write setdecoratedbounds_cx; |
|
property decoratedbounds_cy: integer read getdecoratedbounds_cy
write setdecoratedbounds_cy; |
|
property opacity: realty read fopacity write setopacity; |
Description
Fields
fstate: windowstatesty; |
|
fgdi: pgdifunctionaty; |
|
fwindow: windowty; |
|
fcontainer: winidty; |
|
fownerwidget: twidget; |
|
fcanvas: tcanvas; |
|
fasynccanvas: tcanvas; |
|
fmodalresult: modalresultty; |
|
fupdateregion: gdiregionty; |
|
Methods
procedure setasynccanvas(const acanvas: tcanvas); |
|
procedure releaseasynccanvas; |
|
procedure processsysdnd(const event: twindowevent); |
|
function getwindowsize: windowsizety; |
|
procedure setwindowsize(const value: windowsizety); |
|
function getwindowpos: windowposty; |
|
procedure setwindowpos(const Value: windowposty); |
|
procedure invalidaterect(const arect: rectty; const sender: twidget = nil); |
|
procedure mouseparked; |
|
procedure movewindowrect(const dist: pointty; const rect: rectty); virtual; |
|
procedure checkmousewidget(const info: mouseeventinfoty; var capture: twidget); |
|
procedure dispatchmouseevent(var info: moeventinfoty; capture: twidget); virtual; |
|
procedure dispatchkeyevent(const eventkind: eventkindty; var info: keyeventinfoty); virtual; |
|
procedure sizechanged; virtual; |
|
procedure poschanged; virtual; |
|
procedure internalactivate(const windowevent: boolean; const force: boolean = false); |
|
procedure noactivewidget; |
|
procedure lockactivate; |
|
procedure unlockactivate; |
|
procedure setzorder(const value: integer); |
|
function topmodaltransientfor: twindow; |
|
function beginmodal(const showinfo: pshowinfoty): boolean; overload; |
|
constructor create(const aowner: twidget; const agdi: pgdifunctionaty = nil); |
|
destructor destroy; override; |
|
procedure destroywindow; |
|
procedure recreatewindow(); |
|
procedure registeronscroll(const method: notifyeventty); |
|
procedure unregisteronscroll(const method: notifyeventty); |
|
function beginmodal: boolean; overload; |
|
procedure endmodal; |
|
function modal: boolean; |
|
function modalwindowbefore: twindow; |
|
function transientforstackactive: boolean; |
|
procedure activate(const force: boolean = false); |
|
function active: boolean; |
|
function deactivateintermediate: boolean; |
|
procedure reactivate(const force: boolean = false); |
|
procedure update; |
|
function candefocus: boolean; |
|
procedure nofocus; |
|
function close: boolean; overload; |
|
function close(const amodalresult: modalresultty): boolean; overload; |
|
procedure beginmoving; |
|
procedure endmoving; |
|
procedure bringtofront; |
|
procedure bringtofrontlocal; |
|
procedure sendtoback; |
|
procedure sendtobacklocal; |
|
procedure stackunder(const predecessor: twindow); |
|
procedure stackover(const predecessor: twindow); |
|
function stackedunder(const avisible: boolean = false): twindow; |
|
function stackedover(const avisible: boolean = false): twindow; |
|
function hastransientfor: boolean; |
|
function istransientfor(const base: twindow): boolean; |
|
function defaulttransientfor: twindow; |
|
function capturemouse: boolean; |
|
procedure releasemouse; |
|
function mousecaptured: boolean; |
|
procedure postkeyevent(const akey: keyty; const ashiftstate: shiftstatesty = []; const release: boolean = false; const achars: msestring = ''); |
|
function winid: winidty; |
|
function haswinid: boolean; |
|
function state: windowstatesty; |
|
function visible: boolean; |
|
function activating: boolean; |
|
function normalwindowrect: rectty; |
|
function updaterect: rectty; |
|
procedure registermovenotification(sender: iobjectlink); |
|
procedure unregistermovenotification(sender: iobjectlink); |
|
function ispopup: boolean; |
|
function firstfocuswidget(): twidget; |
|
function lastfocuswidget(): twidget; |
|
Properties
property focuscount: longword read ffocuscount; |
|
property updateregion: regionty read fupdateregion.region; |
|
property options: windowoptionsty read foptions; |
|
property owner: twidget read fownerwidget; |
|
property focusedwidget: twidget read ffocusedwidget; |
|
property transientfor: twindow read ftransientfor; |
|
property modalfor: boolean read getmodalfor; |
|
property modalresult: modalresultty read fmodalresult write setmodalresult; |
|
property buttonendmodal: boolean read getbuttonendmodal write setbuttonendmodal; |
|
property globalshortcuts: boolean read getglobalshortcuts write setglobalshortcuts; |
|
property localshortcuts: boolean read getlocalshortcuts write setlocalshortcuts; |
|
property windowpos: windowposty read getwindowpos write setwindowpos; |
|
property caption: msestring read fcaption write setcaption; |
|
property container: winidty read fcontainer
write setcontainer default 0; |
|
property syscontainer: syswindowty read fsyscontainer
write setsyscontainer default sywi_none; |
|
property screenpos: pointty read getscreenpos write setscreenpos; |
|
property decoratedwidgetrect: rectty read getdecoratedwidgetrect
write setdecoratedwidgetrect; |
|
property decoratedpos: pointty read getdecoratedpos
write setdecoratedpos; |
|
property decoratedsize: sizety read getdecoratedsize
write setdecoratedsize; |
|
property decoratedbounds_x: integer read getdecoratedbounds_x
write setdecoratedbounds_x; |
|
property decoratedbounds_y: integer read getdecoratedbounds_y
write setdecoratedbounds_y; |
|
property decoratedbounds_cx: integer read getdecoratedbounds_cx
write setdecoratedbounds_cx; |
|
property decoratedbounds_cy: integer read getdecoratedbounds_cy
write setdecoratedbounds_cy; |
|
property opacity: realty read fopacity write setopacity; |
|
Generated by PasDoc 0.16.0.