From 6d54d86a2adf48cc598c0d2429b491813d46f6ae Mon Sep 17 00:00:00 2001 From: alexa Date: Thu, 24 Oct 2024 09:22:27 +0400 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D0=B8=D0=BB=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=8F=D1=81=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=20CAS?= =?UTF-8?q?E=20WM=5FTIMER,=20=D0=BF=D0=BE=D1=82=D0=BE=D0=BC=D1=83=20=D1=87?= =?UTF-8?q?=D1=82=D0=BE=20=D0=BF=D0=BE=D1=81=D1=87=D0=B8=D1=82=D0=B0=D0=BB?= =?UTF-8?q?,=20=D1=87=D1=82=D0=BE=20=D1=8D=D1=82=D0=BE=20=D0=BD=D0=B5?= =?UTF-8?q?=D0=BA=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82=D0=BD=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- laba12/tasks/tasks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laba12/tasks/tasks.cpp b/laba12/tasks/tasks.cpp index 22f0f7d..5d84ecd 100644 --- a/laba12/tasks/tasks.cpp +++ b/laba12/tasks/tasks.cpp @@ -289,7 +289,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) case WM_CREATE: SetTimer(hWnd, 1, 500, 0); break; -//case WM TIMER - время, за которое объект преодолеет какое-либо расстояние + case WM_TIMER: im1.x += im1.vx;