TGUI  1.6.1
Loading...
Searching...
No Matches
tgui::WindowsIMM Class Reference

Dynamically loads and uses imm32.dll on Windows to control the IME. More...

#include <TGUI/WindowsIMM.hpp>

Static Public Member Functions

static void initialize ()
 
static void release ()
 
static void setCandidateWindowPosition (HWND hWnd, Vector2f caretPos)
 This function is called by TGUI when the position of the cursor changes in a text field (EditBox or TextArea). It may result in the IME window moving.
 

Detailed Description

Dynamically loads and uses imm32.dll on Windows to control the IME.

Member Function Documentation

◆ setCandidateWindowPosition()

static void tgui::WindowsIMM::setCandidateWindowPosition ( HWND hWnd,
Vector2f caretPos )
static

This function is called by TGUI when the position of the cursor changes in a text field (EditBox or TextArea). It may result in the IME window moving.

Parameters
hWndHandle to the window that contains the focused widget
caretPosLocation of the text cursor, relative to the top-left of the window, in pixels

The documentation for this class was generated from the following file: