2.2.4.34.10 PageBase::GetSplitterInfo


Description

Retrieve configuration information for the current splitter.

Syntax

BOOL GetSplitterInfo( LPCSTR lpcszClassName = NULL, TreeNode & tr = NULL )

Parameters

lpcszClassName
[input] Origin C class name of existing splitter child window or NULL to return information on whether any splitters are present.
tr
[output] If splitters were found according to the first argument tr receives the serialized splitters configuration information.

Return

Returns TRUE if splitters are present according to the first argument otherwise returns FALSE.

Examples

EX1

void PageBase_GetSplitterInfo_ex1()
{
	WorksheetPage wp = Project.Pages(0);
	if( wp.IsValid() )
	{
		Tree tr;
		wp.GetSplitterInfo("WkbookSplitter", tr);
		out_tree(tr);
	}
}

See Also

PageBase::SetSplitters

Header to Include

origin.h