Delphi All You Need To Know About Application.DialogHandle

FireWind

Свой
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,199
Credits
4,009
All You Need To Know About Application.DialogHandle
By Muhammad Azizul Hakim July 23, 2021

Use the DialogHandle property or DelphiVCL.Application.DialogHandle to provide a mechanism for using non-VCL dialog boxes in an application.

Use DialogHandle when displaying a modeless dialog box that was created using the CreateDialog API function. Assigning the handle of the modeless dialog box to DialogHandle allows the dialog to see messages from the application’s message loop.

Assign the handle of the modeless dialog box to DialogHandle when it receives an activation message (WM_NCACTIVATE) and set DialogHandle to zero when the dialog box receives a deactivation message.

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.DialogHandle using dir() command:
Python:
import DelphiVCL
 
dir(DelphiVCL.Application.DialogHandle)
See the responses in our Windows command prompt:
1627068292626.png
You can also read short information about the DelphiVCL.Application.DialogHandle using the print() command:
Python:
print(DelphiVCL.Application.DialogHandle)
print(DelphiVCL.Application.DialogHandle.__doc__)
See the responses in our Windows command prompt:
1627068330579.png