KeyView 23.4

# VAPIM_SETINDEXBUFCHARSET

Sets the character set for the returned indexed text buffer.

## Syntax

    #include <kvvapi.h>
    SendMessage (g_hWndVAPI, VAPIM_SETINDEXBUFCHARSET, kvcharset, 0 );

## Arguments

Argument | Description
--- | ---
`g_hWndVAPI` | The handle of the VAPI window.
`kvcharset` | A value from the `KVCharSet` enumerated type in `kvcharset.h`.

## Returns

`SendMessage()` returns `TRUE` if the call succeeds.

## Discussion

If `kvcharset` is `KVCS_UNKNOWN`, the character set of the returned buffer is the Windows native character set (for example, `KVCS_1252` for an English machine). This is also the default character set on an English machine when `VAPIM_SETINDEXBUFCHARSET` message is not sent.

Copyright 2016-2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.4

Topic Title: VAPIM_SETINDEXBUFCHARSET