DelphiDelphiVCLPythonPython GUIWindows

What is DelphiVCL.Application.CreateHandle?

featuredimage2-4

We can use the CreateHandle method or DelphiVCL.Application.CreateHandle to generate a main window for the application if it does not already have one.

Do not call CreateHandle directly. In EXEs, the application’s constructor calls CreateHandle. In DLLs, it does not.

CreateHandle encapsulates much of what traditional Windows programs write in WinMain. For example, CreateHandle registers the Window Class, creates the application window, and determines how the application window is shown.

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.CreateHandle using dir() command:

See the responses in our Windows command prompt:

0dir-8504152

You can also read short information about the DelphiVCL.Application.CreateHandle using the print() command:

See the responses in our Windows command prompt:

0print-1827222

 

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

close
Related posts
DelphiDelphiVCLPythonPython GUIWindows

What is the MainForm Property in DelphiVCL.Application?

DelphiDelphiVCLPythonPython GUIWindows

Learn About The HelpJump Method For Displaying Help

DelphiDelphiVCLPythonPython GUIWindows

What Is The HookSynchronizeWakeup Method in DelphiVCL.Application?

DelphiDelphiVCLPythonPython GUIWindows

Learn About The Application's InitInstance Method

Leave a Reply

Your email address will not be published. Required fields are marked *

en_USEnglish