Building windows
When you build a window, you:
-
Specify the appearance and behavior of the window by setting
its properties -
Add controls to the window
-
Build scripts that determine how to respond to events in the
window and its controlsTo support these scripts, you can define new events for the
window and its controls, and declare functions, structures, and
variables for the window.
Two ways
There are two ways to build a window. You can:
-
Build a new window from scratch
You use this technique to create windows that are not based
on existing windows. -
Build a window that inherits its style, events, functions,
structures, variables, and scripts from an existing windowYou use inheritance to create windows that are derived from
existing windows, thereby saving you time and coding.
For more information
For information on building windows from scratch, see Building a new window.
For information on using inheritance to build a window, see
Using inheritance to build a
window.