VAPIMWP_MULTIOBJ_OBJNAME
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.
Syntax
#include <kvvapi.h>
SendMessage(hWndVAPI, VAPIM_MULTIOBJ, VAPIMWP_MULTIOBJ_OBJNAME,
(LPARAM) (char*) lpstzObjectName );
Arguments
| Argument | Description |
|---|---|
hWndVAPI
|
The handle of the VAPI window. |
lpstzObjectName
|
A pointer to a Pascal string that returns the object name string. |
Returns
SendMessage() returns TRUE on success; otherwise it returns FALSE.
Discussion
You can use this message only with multiple-object documents.