Assembly: Ui;
Namespace: Prognoz.Platform.Interop.Ui;
The WinApplication class implements an object that is used to control a started application and its objects.
Class to get analog of the WinApplication class:
WinApplicationClassClass;
Class to get analog of the WinApplication class object:
WinApplicationClass_2;
| Property name | Brief description | |
| Binary | The Binary property returns path and name of the executable file that started the current version of platform. | |
| CursorPosition | The CursorPosition property returns the point containing current screen coordinates of mouse cursor. | |
| Help | The Help property returns application help settings. | |
| Instance | The Instance property returns the object that is used to work with the started application. | |
| Version | The Version property returns the object containing information on current platform version. | |
| WaitCursor | The WaitCursor property determines whether mouse cursor is to be shown as a wait cursor. |
| Method name | Brief description | |
| ConfirmationBox | The ConfirmationBox method opens a standard confirmation box. | |
| ErrorBox | The ErrorBox method opens a standard error message dialog box. | |
| ExclamationBox | The ExclamationBox method opens a standard warning message dialog box. | |
| GetAsyncKeyState | The GetAsyncKeyState method returns state (pressed or released) of a key outside the message queue. | |
| GetKeyState | The GetKeyState method returns state (pressed or released) of a key in the message queue. | |
| InformationBox | The InformationBox method opens a standard information dialog box. | |
| InputBox | The InputBox method opens a standard data input dialog box. | |
| NotImplementedBox | The NotImplementedBox method opens the dialog box with the following message: "Sorry, this function is under development". | |
| ShellExecute | The ShellExecute method opens a file or application. | |
| YesNoCancelBox | The YesNoCancelBox method opens a standard confirmation dialog box containing three options. |
| Property name | Brief description | |
| The ApplicationSettings property returns formatting settings used in the current application. | ||
| The CommandActionCustomize property returns settings for operations available for various repository objects. | ||
| The CustomParams property returns custom parameters that are passed on platform startup with the -Customparam key. | ||
| The LicenseManager property returns license manager. | ||
| The Params property returns collection of parameters, with which the platform is started. | ||
| The Windows property returns collection of the windows related to the application. |
| Property name | Brief description | |
![]() |
Globals | The Globals property returns collection of global application variables. |
| Method name | Brief description | |
| The DisableProcessWindowsGhosting method disables checking platform windows status by the Windows windows manager. | ||
| The GetMemoryStatus property returns information on physical and virtual computer memory. | ||
| The GetObjectTarget method creates an object that executes some operations on repository objects using reserved commands. | ||
| The GetOperatingSystemVersion method returns information on the operating system version installed on the computer. | ||
| The GetPluginTarget method creates an object that executes command of a specified plugin. | ||
| Outdated.The LicenseRequest method checks if the license file contains specified feature and returns the license. NOTE. The method is outdated, use IUiLicenseManager.LicenseRequest instead. |
||
| The ProcessMessages method sends a request to process system messages causing redrawing of application window. | ||
| The ProcessMouseMessages method sends a request to process system messages addressed to the application. |
See also: