Notice
Recent Posts
Recent Comments
Link
목록WinAPI (2)
빙수달 게임 개발 노트
#include "framework.h"#include "Alkanoid.h"#include #include #include #define MAX_LOADSTRING 100#define BSIZE 10 // 원의 반지름class CCircle{public: int mx; int my; float VectorX; float VectorY; void DrawCircle(HDC hdc); // 원 화면에 출력 void Initialize(int x, int y); // 원 그려지는 시작점 void Translate(); // 원 이동 void WallCrash(); // 원이 벽 충돌할 때 void..
Programming/WindowAPI
2025. 1. 9. 00:32
윈도우 프로시저 내부만 작성하였다.LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam){ HDC hdc; PAINTSTRUCT ps; HBRUSH hBrush, oldBrush; static POINT pos; static RECT rectView; static bool flag_East; static bool flag_South; static bool flag_West; static bool flag_North; switch (message) { case WM_CREATE: { pos.x = 50; pos.y = 50; ..
Programming/WindowAPI
2025. 1. 9. 00:17