Managing Bidirectional Attributes Using WinSetLangInfo

The WinSetLangInfo and the WinQueryLangInfo APIs are used by applications to manage the various bidirectional attributes. The ulEffect parameter of these APIs determines what kind of bidirectional attribute is being set/queried by the call. The following values for ulEffect are supported:

For the LI_BD_WND_ATTR and LI_BD_WND_STAT effects, the caller of the API can choose if the setting of the bidi attributes (or status) should be done for the specified window itself, or for the specified window and all his child-windows. This is possible by specifying the LIF_CHILD_INHERIT flag bit in the flFlags parameter of the WinSetLangInfo API.

The caller can also instruct the window whose bidi attributes (or bidi status) are being set, to redraw itself, by specifying the LIF_WND_REFRESH flag.


[Back: Clipboard Bidirectional Attributes]
[Next: Using WinSetLangInfo to Send WM_SETBIDIATTR Messages]