Class: DfBaseWindow [Abstract]

Properties  Events  Methods    Index of Classes

Specifies a layer of presentation support for GUI objects

This is an abstract class and should never be used by a developer for object instantiation. While a developer could use this class for sub-classing, it is not encouraged.



Library: Windows Application Class Library

Package: none (class defined in runtime)


The DfBaseWindow class specifies a layer of presentation support for GUI objects. DfBaseWindow manages the colors, fonts, location and size of a GUI object.

This class provides the interface level required to create and display visual objects. Messages are provided to size and locate objects and set other display characteristics common to all all visual classes.

Windows Objects

Each DataFlex object has the ability to create, use, and then destroy Windows objects. When a DataFlex object is paged it creates windows object and displays it. When the DataFlex object is un-paged, the Windows object is removed and destroyed. Under normal circumstances all communication with this Windows object is private; the DataFlex object handles this for you.

It is possible to send messages directly to a Windows object. This class adds that layer of interface support. The messages that allow you to directly communicate with the Windows object are: get/set window_handle, get/set container_handle, get/set window_style, get/set extended_window_style, send page, and send page_delete.

This is a very low level interface. You are bypassing the DataFlex message interface and communicating directly with the windows object. If you choose to do this:

It is not intended that you should need to use this low level Windows interface. It is, however, an extremely powerful extension which provides full access to standard Windows controls.