procedure TForm1.AppMessage (var Msg: TMsg; var Handled: boolean);
begin
if (Msg.Message = WM_SYSCOMMAND) and (Msg.wParam = SC_SCREENSAVE) then
Handled := true;
end;
dituliskan pada modul event OnCreate Form:
Application.OnMessage := AppMessage;
begin
if (Msg.Message = WM_SYSCOMMAND) and (Msg.wParam = SC_SCREENSAVE) then
Handled := true;
end;
dituliskan pada modul event OnCreate Form:
Application.OnMessage := AppMessage;
0 comments :
Posting Komentar
Terima kasih atas kunjungan dan komentarnya