#include <windows.h> #include "resource.h" LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); HINSTANCE hInst; TCHAR szAppName[] = TEXT("PopMenu"); ...
分类:
其他好文 时间:
2020-12-05 10:55:56
阅读次数:
8
#include <windows.h> #include "resource.h" #define ID_TIMER 1 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); TCHAR szAppName[] = TEXT("MenuDemo ...
分类:
其他好文 时间:
2020-12-03 12:21:35
阅读次数:
5
#include <windows.h> #define BUFFER(x,y) *(pBuffer + y*cxBuffer + x) LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); int min(int a, int b) { ret ...
分类:
其他好文 时间:
2020-09-24 21:56:40
阅读次数:
47
/* RANDRECT.C -- Displays Random Rectangles */ #include <windows.h> #include <stdlib.h> //for the rand function LRESULT CALLBACK WndProc(HWND,UINT,WPA ...
分类:
其他好文 时间:
2020-07-16 22:08:07
阅读次数:
107
// DIB.cpp : 定义应用程序的入口点。// #include "stdafx.h"#include "DIB.h"#include"DIBFILE.h" LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); int APIENTRY w ...
分类:
其他好文 时间:
2020-06-24 10:27:27
阅读次数:
62
Windows内核分析索引目录:https://www.cnblogs.com/onetrainee/p/11675224.html 消息机制 1.最基本的窗口创建 #include <windows.h> LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, L ...
分类:
其他好文 时间:
2020-04-06 15:42:41
阅读次数:
79
#include "windows.h" #include "resource.h" LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ; HMENU hm; int WINAPI WinMain (HINSTANCE hInstance, ...
分类:
其他好文 时间:
2020-03-23 09:36:57
阅读次数:
72
#include <windows.h> LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); VOID CALLBACK fun(PVOID lp); int WINAPI WinMain (HINSTANCE hInstance, HINS ...
分类:
其他好文 时间:
2020-03-23 09:21:48
阅读次数:
78
HDC是一种“可画”的设备,WIN_PAINT是windows的一种消息事件,所有窗体可见部分都是他的杰作 实验环境:win7下vs2010 定义hdc设备,并利用WIN_PAINT绘画 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM ...
分类:
编程语言 时间:
2019-12-29 23:28:36
阅读次数:
136
#include <windows.h> LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); HBITMAP g_bmp; HBITMAP g_bmpMask; HBITMAP create ...
分类:
其他好文 时间:
2019-12-23 19:04:28
阅读次数:
107