Windows编程
makabaka12138
这个作者很懒,什么都没留下…
展开
-
MFC------MFC常用消息之MFC再体验
MFC常用消息原创 2022-07-17 15:27:22 · 184 阅读 · 0 评论 -
MFC------初体验
MFC------初体验原创 2022-07-17 11:08:52 · 95 阅读 · 0 评论 -
非模态对话框------windows编程
非模态对话框------windows编程原创 2022-07-16 10:08:39 · 205 阅读 · 0 评论 -
模态对话框------windows编程
模态对话框------windows编程原创 2022-07-15 16:11:33 · 543 阅读 · 0 评论 -
模态对话框与非模态对话框的区别
模态与非模态对话框的区别int WINAPI WinMain(HINSTANCE hinstance, HINSTANCE prehinstance, LPSTR lpCmdLine, int nShowCmd){ srand(time(0)); keybd_event(VK_LWIN, 0, 0, 0); keybd_eve.原创 2022-04-26 11:47:32 · 1320 阅读 · 0 评论 -
Windows------常用消息及消息附加参数
LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam){//消息分为入队消息,不入队列消息//不进队列消息,不进入getmessage//wparam:按键的状态值//lparam:鼠标状态//return 0 系统都会给你处理一遍//return 1 告诉系统,哥已经处理完了,滚蛋吧 switch (uMsg) { case WM_PAINT://画图 { //开启绘图 .原创 2022-04-22 13:35:49 · 571 阅读 · 0 评论 -
Windows编程
#include <windows.h>//窗口处理函数//CALLBACK 调用约定LRESULT CALLBACK WindowProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);//窗口程序的入口函数WinMainint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPreInstance, LPSTR lpCmdLine, int nCmdshow){ //int .原创 2022-04-20 22:08:49 · 249 阅读 · 0 评论