Declare Function ImmGetContext Lib "imm32.dll" (ByVal hWnd As Long) As Long
该函数是获得输入上下文的句柄的,它的参数hwnd是哪个的?如何获取?
请高手详细告知,小人万分感激

解决方案 »

  1.   

    当我输入上下文的时候,我如何获取选词列表(我使用ImmGetCandidateList,可是总是不行),help
      

  2.   

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/ime_3o1g.asp写的很清楚啊
      

  3.   

    我是问这个函数中的那个hwnd 参数是指哪个视窗的hwnd,如何获取
      

  4.   

    MSDN 还看不懂那就没办法了ImmGetContext
    The ImmGetContext function retrieves the input context associated with the specified window.HIMC ImmGetContext(
      HWND hWnd  
    );
    Parameters
    hWnd 
    [in] Handle to the window for which to retrieve the input context. 
    Return Values
    Returns the handle to the input context.Res
    An application should routinely use this function to retrieve the current input context before attempting to access information in the context.