CPane::AllocElements

Allocates storage for internal use.

BOOL AllocElements(
   int nElements,
   int cbElement
);

Parameters

  • [in] nElements
    The number of elements for which to allocate storage.

  • [in] cbElement
    The size, in bytes, of an element.

Return Value

FALSE if memory allocation fails; otherwise, TRUE.

Requirements

Header: afxpane.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CPane Class