Gets the current object name for a multiple-object document. See Change the Current Object in a Document. This is a parameter of the VAPIM_MULTIOBJ message.
#include <kvvapi.h>
SendMessage(hWndVAPI, VAPIM_MULTIOBJ, VAPIMWP_MULTIOBJ_OBJNAME,
(LPARAM) (char*) lpstzObjectName );
| Argument | Description |
|---|---|
hWndVAPI
|
The handle of the VAPI window. |
lpstzObjectName
|
A pointer to a Pascal string that returns the object name string. |
SendMessage() returns TRUE on success; otherwise it returns FALSE.
You can use this message only with multiple-object documents.
|
|