SECLayoutFactory::GetChildWindowList

BOOLSECLayoutFactory::GetChildWindowList(CWndPtrList&listWnds, CWnd*pParent, CRuntimeClass*pClassMask)

Get a list of all child windows of a particular parent

Defined in: FACTORY.CPP

Return Value

TRUE on success, FALSE on failure.

Parameters

listWnds

A CWnd type safe CPtrArray of window children

pParent

Pointer to parent window for child iteration.

pClassMask

Class mask. If not NULL, only return classes matching or derived from mask.

Comments

Use this function to iterate all child controls of a particular window.