Class tguiapplication

Unit

Declaration

type tguiapplication = class(tcustomapplication)

Description

No description available, ancestor tcustomapplication description follows
No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected flastshowmenuwidget: twidget;
Protected foptionsgui: guiappoptionsty;
Protected fgdilockcount: int32;

Methods

Protected procedure sysevent(const awindow: winidty; var aevent: syseventty; var handled: boolean);
Protected procedure sethighrestimer(const avalue: boolean); override;
Protected procedure dopostevent(const aevent: tmseevent); override;
Protected procedure eventloop(const once: boolean = false);
Protected procedure exitloop;
Protected procedure receiveevent(const event: tobjectevent); override;
Protected procedure doafterrun; override;
Protected procedure internalinitialize; override;
Protected procedure internaldeinitialize; override;
Protected procedure objecteventdestroyed(const sender: tobjectevent); override;
Protected procedure dragstarted;
Protected procedure internalpackwindowzorder(); virtual;
Protected procedure zorderinvalid();
Public constructor create(aowner: tcomponent); override;
Public procedure destroyforms;
Public procedure langchanged; override;
Public procedure settimer(const us: integer); override;
Public function findwindow(aid: winidty; out window: twindow): boolean;
Public procedure checkwindowrect(winid: winidty; var rect: rectty);
Public function createform(instanceclass: widgetclassty; var reference): twidget;
Public procedure invalidate;
Public procedure processmessages; override;
Public function idle: boolean; override;
Public function modallevel: integer; override;
Public function unlockall: integer override;
Public procedure relockall(count: integer) override;
Public procedure beginnoignorewaitevents;
Public procedure endnoignorewaitevents;
Public procedure beginwait(const aprocessmessages: boolean = false); override;
Public procedure endwait; override;
Public function waiting: boolean;
Public function waitescaped: boolean; override;
Public procedure resetwaitdialog;
Public function waitdialog(const athread: tthreadcomp = nil; const atext: msestring = ''; const caption: msestring = ''; const acancelaction: notifyeventty = nil; const aexecuteaction: notifyeventty = nil; const aidleaction: waitidleeventty = nil; const acontinueaction: notifyeventty = nil): boolean;
Public procedure terminatewait;
Public procedure cancelwait;
Public function waitstarted: boolean;
Public function waitcanceled: boolean;
Public function waitterminated: boolean;
Public procedure showexception(e: exception; const leadingtext: msestring = ''); override;
Public procedure showasyncexception(e: exception; const leadingtext: msestring = '');
Public procedure errormessage(const amessage: msestring); override;
Public procedure inithintinfo(var info: hintinfoty; const ahintedwidget: twidget);
Public procedure initwidgethintinfo(var info: hintinfoty; const ahintedwidget: twidget);
Public procedure showhint(const sender: twidget; const hint: msestring; const aposrect: rectty; const aplacement: captionposty = cp_bottomleft; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags);
Public procedure showhint(const sender: twidget; const hint: msestring; const apos: pointty; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags);
Public procedure showhint(const sender: twidget; const info: hintinfoty);
Public procedure showhint(const sender: twidget; const hint: msestring);
Public procedure showhint(const sender: twidget; const hintwidget: twidget; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags);
Public procedure hidehint;
Public procedure restarthint(const sender: twidget);
Public function hintedwidget: twidget;
Public function activehintedwidget: twidget;
Public procedure help(const sender: tmsecomponent);
Public procedure registerhelphandler(const ahandler: helpeventty);
Public procedure unregisterhelphandler(const ahandler: helpeventty);
Public function activehelpcontext: msestring;
Public function mousehelpcontext: msestring;
Public function active: boolean;
Public procedure activate();
Public function screenrect(const awindow: twindow = nil): rectty;
Public function workarea(const awindow: twindow = nil): rectty;
Public function ppmm(const awindow: twindow = nil): complexty;
Public function normalactivewindow: twindow;
Public function regularactivewindow: twindow;
Public function unreleasedactivewindow: twindow;
Public function activewidget: twidget;
Public function activerootwidget: twidget;
Public function windowatpos(const pos: pointty): twindow;
Public function findwidget(const namepath: string; out awidget: twidget): boolean;
Public procedure sortzorder();
Public procedure packwindowzorder();
Public function windowar: windowarty;
Public function winidar: winidarty;
Public function windowcount: integer;
Public function bottomwindow: twindow;
Public function topwindow: twindow;
Public function candefocus(const caller: tobject = nil): boolean; override;
Public procedure registeronkeypress(const method: keyeventty);
Public procedure unregisteronkeypress(const method: keyeventty);
Public procedure registeronshortcut(const method: keyeventty);
Public procedure unregisteronshortcut(const method: keyeventty);
Public procedure registeronwidgetactivechanged(const method: widgetchangeeventty);
Public procedure unregisteronwidgetactivechanged(const method: widgetchangeeventty);
Public procedure registeronwindowactivechanged(const method: windowchangeeventty);
Public procedure unregisteronwindowactivechanged(const method: windowchangeeventty);
Public procedure registeronwindowdestroyed(const method: windoweventty);
Public procedure unregisteronwindowdestroyed(const method: windoweventty);
Public procedure registeronwiniddestroyed(const method: winideventty);
Public procedure unregisteronwiniddestroyed(const method: winideventty);
Public procedure registeronapplicationactivechanged(const method: booleaneventty);
Public procedure unregisteronapplicationactivechanged(const method: booleaneventty);
Public procedure registersyseventhandler(const method: syseventhandlereventty);
Public procedure unregistersyseventhandler(const method: syseventhandlereventty);
Public function terminate(const sender: twindow = nil): boolean;
Public function terminating: boolean;
Public function deinitializing: boolean;
Public function shortcutting: boolean;
Public procedure mouseparkevent;
Public procedure delayedmouseshift(const ashift: pointty);
Public procedure calcmousewheeldelta(var info: mousewheeleventinfoty; const fmin,fmax,deltamin,deltamax: real);
Public function mousewheelacceleration(const avalue: real): real; overload;
Public function mousewheelacceleration(const avalue: integer): integer; overload;
Public procedure clearkeyhistory;
Public procedure updatecursorshape;

Properties

Public property optionsgui: guiappoptionsty read foptionsgui write foptionsgui default [];
Public property forcezorder: boolean read getforcezorder write setforcezorder;
Public property hintwidgetclass: widgetclassty read fhintwidgetclass write fhintwidgetclass;
Public property activewindow: twindow read factivewindow;
Public property lastactivewindow: twindow read flastactivewindow;
Public property inactivewindow: twindow read finactivewindow;
Public property lastshowmenuwidget: twidget read flastshowmenuwidget;
Public property windows[constindex:integer]: twindow read getwindows;
Public property caret: tcaret read fcaret;
Public property mouse: tmouse read fmouse;
Public property keyhistory: keyinfoarty read fkeyhistory;
Public property lastinputtimestamp: longword read flastinputtimestamp;
Public property lastshiftstate: shiftstatesty read flastshiftstate;
Public property lastkey: keyty read flastkey;
Public property lastbutton: mousebuttonty read flastbutton;
Public property mouseeventinfo: pmouseeventinfoty read fmouseeventinfo;
Public property mousewheeleventinfo: pmousewheeleventinfoty read fmousewheeleventinfo;
Public property keyeventinfo: pkeyeventinfoty read fkeyeventinfo;
Public property cursorshape: cursorshapety read fcursorshape write setcursorshape;
Public property widgetcursorshape: cursorshapety read fwidgetcursorshape write setwidgetcursorshape;
Public property mousewidget: twidget read fmousewidget;
Public property clientmousewidget: twidget read fclientmousewidget;
Public property mousecapturewidget: twidget read fmousecapturewidget;
Public property keyboardcapturewidget: twidget read fkeyboardcapturewidget;
Public property mainwindow: twindow read fmainwindow write setmainwindow;
Public property thread: threadty read fthread;
Public property buttonpresswidgetbefore: twidget read fbuttonpresswidgetbefore;
Public property buttonreleasewidgetbefore: twidget read fbuttonreleasewidgetbefore;
Public property dblclicktime: integer read fdblclicktime write fdblclicktime default defaultdblclicktime;
Public property mousewheelsensitivity: real read fmousewheelsensitivity write fmousewheelsensitivity;
Public property mousewheelfrequmin: real read fmousewheelfrequmin write fmousewheelfrequmin;
Public property mousewheelfrequmax: real read fmousewheelfrequmax write fmousewheelfrequmax;
Public property mousewheeldeltamin: real read fmousewheeldeltamin write fmousewheeldeltamin;
Public property mousewheeldeltamax: real read fmousewheeldeltamax write fmousewheeldeltamax;
Public property mousewheelaccelerationmax: real read fmousewheelaccelerationmax write fmousewheelaccelerationmax;

Description

Fields

Protected flastshowmenuwidget: twidget;
 
Protected foptionsgui: guiappoptionsty;
 
Protected fgdilockcount: int32;
 

Methods

Protected procedure sysevent(const awindow: winidty; var aevent: syseventty; var handled: boolean);
 
Protected procedure sethighrestimer(const avalue: boolean); override;
 
Protected procedure dopostevent(const aevent: tmseevent); override;
 
Protected procedure eventloop(const once: boolean = false);
 
Protected procedure exitloop;
 
Protected procedure receiveevent(const event: tobjectevent); override;
 
Protected procedure doafterrun; override;
 
Protected procedure internalinitialize; override;
 
Protected procedure internaldeinitialize; override;
 
Protected procedure objecteventdestroyed(const sender: tobjectevent); override;
 
Protected procedure dragstarted;
 
Protected procedure internalpackwindowzorder(); virtual;
 
Protected procedure zorderinvalid();
 
Public constructor create(aowner: tcomponent); override;
 
Public procedure destroyforms;
 
Public procedure langchanged; override;
 
Public procedure settimer(const us: integer); override;
 
Public function findwindow(aid: winidty; out window: twindow): boolean;
 
Public procedure checkwindowrect(winid: winidty; var rect: rectty);
 
Public function createform(instanceclass: widgetclassty; var reference): twidget;
 
Public procedure invalidate;
 
Public procedure processmessages; override;
 
Public function idle: boolean; override;
 
Public function modallevel: integer; override;
 
Public function unlockall: integer override;
 
Public procedure relockall(count: integer) override;
 
Public procedure beginnoignorewaitevents;
 
Public procedure endnoignorewaitevents;
 
Public procedure beginwait(const aprocessmessages: boolean = false); override;
 
Public procedure endwait; override;
 
Public function waiting: boolean;
 
Public function waitescaped: boolean; override;
 
Public procedure resetwaitdialog;
 
Public function waitdialog(const athread: tthreadcomp = nil; const atext: msestring = ''; const caption: msestring = ''; const acancelaction: notifyeventty = nil; const aexecuteaction: notifyeventty = nil; const aidleaction: waitidleeventty = nil; const acontinueaction: notifyeventty = nil): boolean;
 
Public procedure terminatewait;
 
Public procedure cancelwait;
 
Public function waitstarted: boolean;
 
Public function waitcanceled: boolean;
 
Public function waitterminated: boolean;
 
Public procedure showexception(e: exception; const leadingtext: msestring = ''); override;
 
Public procedure showasyncexception(e: exception; const leadingtext: msestring = '');
 
Public procedure errormessage(const amessage: msestring); override;
 
Public procedure inithintinfo(var info: hintinfoty; const ahintedwidget: twidget);
 
Public procedure initwidgethintinfo(var info: hintinfoty; const ahintedwidget: twidget);
 
Public procedure showhint(const sender: twidget; const hint: msestring; const aposrect: rectty; const aplacement: captionposty = cp_bottomleft; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags);
 
Public procedure showhint(const sender: twidget; const hint: msestring; const apos: pointty; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags);
 
Public procedure showhint(const sender: twidget; const info: hintinfoty);
 
Public procedure showhint(const sender: twidget; const hint: msestring);
 
Public procedure showhint(const sender: twidget; const hintwidget: twidget; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags);
 
Public procedure hidehint;
 
Public procedure restarthint(const sender: twidget);
 
Public function hintedwidget: twidget;
 
Public function activehintedwidget: twidget;
 
Public procedure help(const sender: tmsecomponent);
 
Public procedure registerhelphandler(const ahandler: helpeventty);
 
Public procedure unregisterhelphandler(const ahandler: helpeventty);
 
Public function activehelpcontext: msestring;
 
Public function mousehelpcontext: msestring;
 
Public function active: boolean;
 
Public procedure activate();
 
Public function screenrect(const awindow: twindow = nil): rectty;
 
Public function workarea(const awindow: twindow = nil): rectty;
 
Public function ppmm(const awindow: twindow = nil): complexty;
 
Public function normalactivewindow: twindow;
 
Public function regularactivewindow: twindow;
 
Public function unreleasedactivewindow: twindow;
 
Public function activewidget: twidget;
 
Public function activerootwidget: twidget;
 
Public function windowatpos(const pos: pointty): twindow;
 
Public function findwidget(const namepath: string; out awidget: twidget): boolean;
 
Public procedure sortzorder();
 
Public procedure packwindowzorder();
 
Public function windowar: windowarty;
 
Public function winidar: winidarty;
 
Public function windowcount: integer;
 
Public function bottomwindow: twindow;
 
Public function topwindow: twindow;
 
Public function candefocus(const caller: tobject = nil): boolean; override;
 
Public procedure registeronkeypress(const method: keyeventty);
 
Public procedure unregisteronkeypress(const method: keyeventty);
 
Public procedure registeronshortcut(const method: keyeventty);
 
Public procedure unregisteronshortcut(const method: keyeventty);
 
Public procedure registeronwidgetactivechanged(const method: widgetchangeeventty);
 
Public procedure unregisteronwidgetactivechanged(const method: widgetchangeeventty);
 
Public procedure registeronwindowactivechanged(const method: windowchangeeventty);
 
Public procedure unregisteronwindowactivechanged(const method: windowchangeeventty);
 
Public procedure registeronwindowdestroyed(const method: windoweventty);
 
Public procedure unregisteronwindowdestroyed(const method: windoweventty);
 
Public procedure registeronwiniddestroyed(const method: winideventty);
 
Public procedure unregisteronwiniddestroyed(const method: winideventty);
 
Public procedure registeronapplicationactivechanged(const method: booleaneventty);
 
Public procedure unregisteronapplicationactivechanged(const method: booleaneventty);
 
Public procedure registersyseventhandler(const method: syseventhandlereventty);
 
Public procedure unregistersyseventhandler(const method: syseventhandlereventty);
 
Public function terminate(const sender: twindow = nil): boolean;
 
Public function terminating: boolean;
 
Public function deinitializing: boolean;
 
Public function shortcutting: boolean;
 
Public procedure mouseparkevent;
 
Public procedure delayedmouseshift(const ashift: pointty);
 
Public procedure calcmousewheeldelta(var info: mousewheeleventinfoty; const fmin,fmax,deltamin,deltamax: real);
 
Public function mousewheelacceleration(const avalue: real): real; overload;
 
Public function mousewheelacceleration(const avalue: integer): integer; overload;
 
Public procedure clearkeyhistory;
 
Public procedure updatecursorshape;
 

Properties

Public property optionsgui: guiappoptionsty read foptionsgui write foptionsgui default [];
 
Public property forcezorder: boolean read getforcezorder write setforcezorder;
 
Public property hintwidgetclass: widgetclassty read fhintwidgetclass write fhintwidgetclass;
 
Public property activewindow: twindow read factivewindow;
 
Public property lastactivewindow: twindow read flastactivewindow;
 
Public property inactivewindow: twindow read finactivewindow;
 
Public property lastshowmenuwidget: twidget read flastshowmenuwidget;
 
Public property windows[constindex:integer]: twindow read getwindows;
 
Public property caret: tcaret read fcaret;
 
Public property mouse: tmouse read fmouse;
 
Public property keyhistory: keyinfoarty read fkeyhistory;
 
Public property lastinputtimestamp: longword read flastinputtimestamp;
 
Public property lastshiftstate: shiftstatesty read flastshiftstate;
 
Public property lastkey: keyty read flastkey;
 
Public property lastbutton: mousebuttonty read flastbutton;
 
Public property mouseeventinfo: pmouseeventinfoty read fmouseeventinfo;
 
Public property mousewheeleventinfo: pmousewheeleventinfoty read fmousewheeleventinfo;
 
Public property keyeventinfo: pkeyeventinfoty read fkeyeventinfo;
 
Public property cursorshape: cursorshapety read fcursorshape write setcursorshape;
 
Public property widgetcursorshape: cursorshapety read fwidgetcursorshape write setwidgetcursorshape;
 
Public property mousewidget: twidget read fmousewidget;
 
Public property clientmousewidget: twidget read fclientmousewidget;
 
Public property mousecapturewidget: twidget read fmousecapturewidget;
 
Public property keyboardcapturewidget: twidget read fkeyboardcapturewidget;
 
Public property mainwindow: twindow read fmainwindow write setmainwindow;
 
Public property thread: threadty read fthread;
 
Public property buttonpresswidgetbefore: twidget read fbuttonpresswidgetbefore;
 
Public property buttonreleasewidgetbefore: twidget read fbuttonreleasewidgetbefore;
 
Public property dblclicktime: integer read fdblclicktime write fdblclicktime default defaultdblclicktime;
 
Public property mousewheelsensitivity: real read fmousewheelsensitivity write fmousewheelsensitivity;
 
Public property mousewheelfrequmin: real read fmousewheelfrequmin write fmousewheelfrequmin;
 
Public property mousewheelfrequmax: real read fmousewheelfrequmax write fmousewheelfrequmax;
 
Public property mousewheeldeltamin: real read fmousewheeldeltamin write fmousewheeldeltamin;
 
Public property mousewheeldeltamax: real read fmousewheeldeltamax write fmousewheeldeltamax;
 
Public property mousewheelaccelerationmax: real read fmousewheelaccelerationmax write fmousewheelaccelerationmax;
 

Generated by PasDoc 0.16.0.