VAPIMWP_INIT_GETCHARSET

Gets the character set of the VAPI window. This is a parameter of the VAPIM_INIT message.

Syntax

SendMessage(g_hWndFocus, VAPIM_INIT, VAPIMWP_INIT_GETCHARSET, 0)

Arguments

Argument Description
hWndVAPI The handle of the VAPI window.
uMsg VAPIM_INIT
wParam VAPIMWP_INIT_GETCHARSET
lParam Not used, set to 0

Returns

This message returns a value from the KVCharSet type (see the kvcharset.h file for a description) corresponding to the character set that VAPI is using for viewing the document. You can use this message to control the state of a menu item or toolbar button that allows a user to select a character encoding for viewing.

Discussion