函数SetFocus()有什么用??
怎么使用??
谢谢了!!

解决方案 »

  1.   

    MSDN
    这种问题完全可以查得到的!!!
      

  2.   

    nightsuns(nightsuns)解释还是比较好的。授人以渔嘛
    我也最近才去MSDN查资料的,虽然英语不好,但借助词霸看起来感觉还不错
      

  3.   

    获得输入焦点,等同于WM_SETFOCUS消息的处理;
      

  4.   

    SetFocus
    The SetFocus function sets the keyboard focus to the specified window. The window must be associated with the calling thread's message queue. HWND SetFocus(
      HWND hWnd   // handle to window to receive focus
    );
     传递一个句柄就能设置一个焦点!!