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:
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.DialogHandle using the print() command:
See the responses in our Windows command prompt:
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)
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__)