摘要: 使用System.Runtime.InteropServices.Marshal.PtrToStructure(IntPtr变量, Struct类型),如: // DATASTRUCT为struct类型名 // lParam为IntPtr类型的变量 DATASTRUCT myStr = (DATAS 阅读全文
posted @ 2022-12-06 11:41 ꧁执笔小白꧂ 阅读(76) 评论(0) 推荐(0)
摘要: 由Windows默认处理的消息就调用Windows的DefWindowProc; 这里的WndProc就是对应控件窗口的窗口过程,而DefWndProc会被WndProc调用,处理那些WndProc中未处理的消息(包括WndProc未吞掉的); 因此DefWndProc收到的消息会比WndProc少 阅读全文
posted @ 2022-12-06 09:23 ꧁执笔小白꧂ 阅读(283) 评论(0) 推荐(0)