“序列号输入助手”源代码[4]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 orochihuang 的 blog

scanshifton) then sendkeyup(vk_shift);
      if bitset(scancode, vkkeyscanctrlon) then sendkeyup(vk_control);
      if bitset(scancode, vkkeyscanalton) then sendkeyup(vk_menu);
      sleep(15); 
    end;
  end;

end;

procedure hotkey(hwnd: integer; state: boolean);
begin

  if state then
  begin
    atom := globalfindatom(str_hotkey);

    if atom = 0 then atom := globaladdatom(str_hotkey);

    registerhotkey(hwnd, atom, 0, vk_f10);
  end
  else begin
    if atom <> 0 then
    begin
      unregisterhotkey(hwnd, atom);
      globaldeleteatom(atom);
      atom := 0;
    end;
  end;
end;

function wndproc(hwnd: integer; umsg: cardinal;
  wparam, lparam: integer): lresult; stdcall;
var
  hdata: integer;
  keystr: string;
  positio

本文关键:“序列号输入助手”源代码
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top