不用鼠标点选按钮,怎样做能使按钮处于被按下的状态

解决方案 »

  1.   

    看看KEYBDINPUT的介绍可以模拟键盘输入
      

  2.   

    按钮又不是Radio,干嘛要停留在按下状态啊。
    那你用radio好了,做成方形的。
      

  3.   

    key_event,mouse_event..........不知道行不行。
      

  4.   

    SendInput
    The SendInput function synthesizes keystrokes, mouse motions, and button clicks.UINT SendInput(
      UINT nInputs,     // count of input events
      LPINPUT pInputs,  // array of input events to insert
      int cbSize        // size of an INPUT structure
    );