摘要: SetWindowPos 函数功能:该函数改变一个子窗口,弹出式窗口式顶层窗口的尺寸,位置和Z序。子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。 函数原型:BOOL SetWindowPos(HWN hWnd,HWND hWndl 阅读全文
posted @ 2019-03-11 13:29 快乐的正能量 阅读(2442) 评论(0) 推荐(0)
摘要: FindWindow(lpClassName, {窗口的类名}lpWindowName: PChar {窗口的标题}): HWND; {返回窗口的句柄; 失败返回 0}//FindWindowEx 比 FindWindow 多出两个句柄参数:FindWindowEx(Parent: HWND; {要 阅读全文
posted @ 2019-03-11 11:18 快乐的正能量 阅读(1292) 评论(0) 推荐(0)
摘要: TUDPPatientInfoUnion = packed record case Integer of 0: (A: TUDPPatientInfo); 1: (B: array[0..Sizeof(TUDPPatientInfo) - 1] of Byte); TUDPPatientInfo = 阅读全文
posted @ 2019-03-11 10:44 快乐的正能量 阅读(577) 评论(0) 推荐(0)
摘要: Delphi中的内存对齐 与 Packed关键字 阅读全文
posted @ 2019-03-11 10:36 快乐的正能量 阅读(445) 评论(0) 推荐(0)