User Tools

Site Tools


windowresizeclass_functional_organization_expected_use.htm
Navigation:  ABC Library Reference > WindowResizeClass > WindowResizeClass Methods >====== WindowResizeClass Functional Organization–Expected Use C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

As an aid to understanding the WindowResizeClass, it is useful to organize the various WindowResizeClass methods into two large categories according to their expected use–the primary interface and the virtual methods. This organization reflects what we believe is typical use of the WindowResizeClass methods.

Non-Virtual Methods

The Non-Virtual Methods, which you are likely to call fairly routinely from your program, can be further divided into three categories:

Housekeeping (one-time) Use:

Init Initialize the WindowResizeClass object
Kill shut down the WindowResizeClass object

Mainstream Use:

Resize (v) resize and reposition all controls

Occasional Use:

SetParentControl set control's parent
SetStrategy set control's resize strategy

(v) These methods are also Virtual.

Virtual Methods

Typically you will not call these methods directly–the Non-Virtual Methods call them. However, we anticipate you will often want to override these methods, and because they are virtual, they are very easy to override. These methods do provide reasonable default behavior in case you do not want to override them.

SetParentDefaults set all controls' parents
RestoreWindow restore window to initial size
GetParentControl return control's parent
Resize resize and reposition all controls
windowresizeclass_functional_organization_expected_use.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1