摘要: 本例效果图: program Project1; uses Windows, Messages; {供 WM_SIZE 消息调用的自定义过程} procedure OnSize(h: HWND); var Rect: TRect; pt: TPoint; buf: array[0..255] of Char; begin GetWindowRect(h, Rect); ... 阅读全文
posted @ 2008-04-19 15:54 万一 阅读(4700) 评论(29) 推荐(0)
摘要: 本例效果图: program Project1; uses Windows, Messages; {供 WM_LBUTTONDOWN 消息调用的自定义过程} procedure OnLButtonDown(h: HWND); var BrushHandle: HBRUSH; Rect: TRect; begin GetClientRect(h, Rect); ... 阅读全文
posted @ 2008-04-19 11:34 万一 阅读(9918) 评论(1) 推荐(0)