SAM_Destroy is sent to a top-level window (dialog box, form window, or table window) and then to all of its children just before the windows are destroyed. SAM_Destroy messages are sent after SAM_Close has been sent to the top-level window. For example, if a form window has data fields, sends the messages to the objects in this order: SAM_Close to the form window. SAM_Destroy to the form window. SAM_Destroy to each of the form window's child windows. After all of the SAM_Destroy messages are sent, the top-level and child windows are destroyed. It is also sent to an MDI window. sends SAM_Destroy to an MDI window and its children in this order: MDI window Form window or table window Form window or table window children and grandchildren (columns) Form window or table window toolbar children and grandchildren MDI window toolbar children and grandchildren Message Variables hWndForm Window handle of current top-level wind

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_Destroy

See Also