ot4xb allow to use a gwst structure object as child member of another gwst structure object. See this sample:
BEGIN STRUCTURE POINT
MEMBER LONG x
MEMBER LONG Y
END STRUCTURE
BEGIN STRUCTURE MSG
MEMBER HWND hwnd
MEMBER UINT message
MEMBER WPARAM wParam
MEMBER LPARAM lParam
MEMBER DWORD time
MEMBER @ POINT pt
END STRUCTURE
Access to members of the child structure is as simple as:
oMsg := MSG():New()
oMsg:pt:x := 25