📄 delay.via
字号:
// Delay.lnl
application PE GUI;
include "win32a.inc";
MSG msg;
frame DoEvents();
if(PeekMessage(@msg, NULL, 0, 0, FALSE)=TRUE) {
TranslateMessage(msg);
DispatchMessage(msg);
}
end;
frame Delay(dword MS);
dword Wait;
Wait = GetTickCount() + MS;
while (GetTickCount() < Wait) { DoEvents(); }
end;
entry
MessageBox(0,"Start..","Delay..",$20);
Delay(2000);
MessageBox(0,"..End!","Delay..",$20);
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -