Delphi全局热键的注册 1.在窗启动时创建ATOM;(aatom:ATOM;定义在private中) 1 if FindAtom(\'ZWXhotKey\')=0 then 2 begin 3 aatom:=GlobalAddAtom(\'ZWXhotKey\'); 4 end; 5 if RegisterHotKey(Handle,aatom,MOD_ALT,$41) then 6 begin 7 MessageBox(Han Delphi mikel 2016-03-25 156 热度 0评论