11 2021 档案

摘要:鼠标&定时器&菜单 // 鼠标消息 - 窗口绘制 - 窗口拖动重影 // WinMouse.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "stdio.h" HINSTANCE g 阅读全文
posted @ 2021-11-28 18:19 皇帽讲绿帽带法技巧 阅读(90) 评论(0) 推荐(0) 编辑
摘要:/*窗口注册*/ // 系统全局窗口类 - BUTTON #include <windows.h> HINSTANCE g_hInst = NULL; /* 窗口类分为下面3种: 系统全局窗口类; 应用程序全局窗口类; 局部窗口类; 1.WinMain入口函数 2.窗口过程处理函数 3.注册窗口 4 阅读全文
posted @ 2021-11-13 18:54 皇帽讲绿帽带法技巧 阅读(325) 评论(0) 推荐(0) 编辑
摘要:完美一点 #include <windows.h> HINSTANCE g_hInst = NULL; //2. 定义窗口处理函数 LRESULT CALLBACK WndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ) { swi 阅读全文
posted @ 2021-11-12 17:23 皇帽讲绿帽带法技巧 阅读(166) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-11-09 21:16 皇帽讲绿帽带法技巧 阅读(0) 评论(0) 推荐(0) 编辑
摘要:Windows程序设计相关参数理解 WinMain入口函数 int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) 窗口回调函数(消息处理函数) LRESULT 阅读全文
posted @ 2021-11-01 13:55 皇帽讲绿帽带法技巧 阅读(3423) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示