13,825
社区成员
发帖
与我相关
我的任务
分享
void __fastcall TForm1::FormKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift)
{
//组合键可以通过Shift参数来判断
TShiftState tss;
if(Shift== tss<<ssAlt && Key==65)
{
ShowMessage("Alt+A");
}
}
//---------------------------------------------------------------------------
void __fastcall TForm1::FormKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift)
{
//组合键可以通过Shift参数来判断
}
//---------------------------------------------------------------------------