This topic has not yet been rated - Rate this topic

COleServerItem::SetItemName

Call this function when you create a linked item to set its name.

void SetItemName( 
   LPCTSTR lpszItemName  
);
lpszItemName

Pointer to the new name of the item.

The name must be unique within the document. When a server application is called to edit a linked item, the application uses this name to find the item. You do not need to call this function for embedded items.

Header: afxole.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.