TMT Pascal produces native Win32® GUI applications. This chapter is based
on the Microsoft® Win32® Programmer's Reference
and describes particularities of GUI application development using
TMT Pascal Multi-target.
The TMT Pascal compiler comes with a set of units which define function and
procedure headers for the Windows API.
For more information refer to
Microsoft Win32 Programmer's Reference. Also, you will find source of
all Win32 API interface units in the \TMTPL\SOURCE\WIN32 subdirectory.
Every graphical Win32-based application creates at least one window (called
the main window), that serves as the main window for the application. This
window serves as the primary interface between the user and the application.
Most applications also create other windows, either directly or indirectly,
to perform tasks related to the main window. Each window plays a part in
displaying output and receiving input from the user.
At the start of an application, the system associates a taskbar button
with the application. The taskbar button contains the program icon and the
title. When the application is active, its taskbar button is displayed in
the pushed state.