IMC_GETSOFTKBDPOS

An IME sends the IMC_GETSOFTKBDPOS message to the soft keyboard window to get the position of the soft keyboard window.

The return value is a POINTS structure that contains the x and y coordinates of the position of the soft keyboard window. It is in screen coordinates.