| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > WindowResizeClass > WindowResizeClass Methods >====== WindowResizeClass Functional Organization--Expected Use {{c6h0009.jpg|C6H0009.jpg}} ====== | [[windowresizeclass methods.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getparentcontrol return parent control .htm|{{btn_next_n.gif|Next 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 |