This instance method inserts a record into a container control window.
#define INCL_WINWORKPLACE
#include <os2.h>
WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */
HWND hwndCnr; /* Handle of container control window. */
PPOINTL pptlIcon; /* Initial icon position in the container control window. */
PMINIRECORDCORE preccParent; /* Pointer to the parent record. */
PRECORDINSERT pRecInsert; /* Record position. */
PMINIRECORDCORE pRecord; /* Pointer to the inserted record. */
pRecord = _wpCnrInsertObject(somSelf, hwndCnr,
pptlIcon, preccParent, pRecInsert);