OWNER

Specifies a "belongs to" relationship between two objects other than a containment relationship (for which the PARENT attribute is used).

In particular, this is currently used to assign controls to tab control tabs, where the control's OWNER attribute is set to the handle of the tab control tab to which the control belongs. If this tab is selected, the control is automatically made visible if its VISIBLE attribute is set to FALSE. If the tab is deselected, the control is automatically hidden. If the tab is deleted, the control is automatically deleted. The foregoing only applies to controls that are direct children of the tab control. For indirect descendant controls, or for controls for which the OWNER attribute is not set, no automatic show, hide or delete occurs.

Applies to ActiveX control, bitmap control, canvas control, control box control, date/time picker control, edit area control, group frame control, input field control,

list box control, list view control, OLE container control, push button control, progress bar control, radio button control, scroll bar control,

selection box control, slider control, spin control,tab control, table control, text constant control, toggle button control, tree view control.

Data Type HANDLE
Default Value NULL-HANDLE
Possible Values NULL-HANDLE / owner handle.