Gets the character set of the VAPI window. This is a parameter of the VAPIM_INIT
message.
SendMessage(g_hWndFocus, VAPIM_INIT, VAPIMWP_INIT_GETCHARSET, 0)
Argument |
Description |
---|---|
|
The handle of the VAPI window. |
|
|
|
|
|
Not used, set to |
This message returns a value from the KVCharSet
type (see the kvtypes.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.
vapidemo.cpp
demonstrates how to use the message.
A relevant message is VAPIMWP_INIT_GETAUTOSELECT
.
|