SetWindowsHookEx (WH_GETMESSAGE, MyHookProc, hModule, 0);
There is something wrong with the//parsing out the coordinates of the
Case WM_IME_STARTCOMPOSITION:
Case WM_IME_COMPOSITION:
X=(wParam & gt;> 16) & amp; 0 XFFFF;
Y=wParam & amp; 0 XFFFF;
Font_height=lParam;
X: 35103, y: 49082, font_height: 16666
Have this,
Use the input method framework
BOOL ImeClass_Register (HINSTANCE HINSTANCE)
{
Modifed WNDCLASSEX wc.
//
//register class of UI window.
//
Wc. CbSize=sizeof (modifed WNDCLASSEX);
Wc. Style=CS_INPUTSTAR | CS_IME;
Wc. LpfnWndProc=UIWndProc;
Wc. CbClsExtra=0;
Wc. CbWndExtra=2 * sizeof (LONG);
The wc. The hInstance=hInstance;
Wc. HCursor=LoadCursor (NULL, IDC_ARROW);
Wc. HIcon=NULL;
Wc. LpszMenuName=(LPTSTR) NULL;
Wc. LpszClassName=CLSNAME_UI;
Wc. HbrBackground=NULL;
Wc. HIconSm=NULL;
if (! RegisterClassEx ((LPWNDCLASSEX) & amp; Wc))
Return FALSE;
Ofstream outfile (" D: \ \ log. TXT ", the ios: : app);
Outfile & lt; <"ImeClass_Register" & lt;Outfile. Close ();
return TRUE;
}
//ImmInstallIME also succeeded input menu building shell input method, I have
But the window class callback UIWndProc
, which has not been entered
There is no solution...
Or what do you get QQ VS the IE application enter the coordinates of the cursor