2012年2月17日

BCB获取键盘、鼠标空闲时间

摘要: void __fastcall TForm1::Timer1Timer(TObject *Sender){ TLastInputInfo t; t.cbSize = sizeof( TLastInputInfo ); GetLastInputInfo( &t ); Label2->Caption = IntToStr( GetTickCount() - t.dwTime );} 阅读全文

posted @ 2012-02-17 14:48 burellow 阅读(399) 评论(0) 推荐(0) 编辑

导航