Specifies a custom handler for getting main window of application.
Unit
Syntax
|
Value
Contains GetMainWnd handler. Can be nil. By default main window is 0.
Remarks
Tip |
This is routine from low-level unit. Do not use this unit unless you need to extend or alter EurekaLog behavior. |
Do not call it. Call GetMainWnd routine instead.
You can assign this variable to your own custom handler to be add support for some application type.
Note |
Have no effect for IDE itself. |
Note |
You don't have to uninstall custom handler. |
Examples
Example of trivial GetMainWnd handler:
function CustomGetMainWnd: HWND;
begin
if Assigned(Application) and Assigned(Application.MainForm) then
Result := Application.MainForm.Handle
else
Result := 0;
end;
initialization
_GetMainWnd := CustomGetMainWnd;
See also
| Send feedback... |
Build date: 2015-09-24 Last edited: 2015-09-24 |
|
PRIVACY STATEMENT The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed. Permanent link to this article: http://www.eurekalog.com/help/eurekalog/topic_var_eapptype__getmainwnd.php |
|