
Delphi工作笔记
GeekSmile
这个作者很懒,什么都没留下…
展开
-
【Delphi】获取windows切换用户消息
unit Wtsapi;interfaceuses Windows;const // The WM_WTSSESSION_CHANGE message notifies applications of changes in session state. WM_WTSSESSION_CHANGE = $2B1; // wParam values: WTS_CON...原创 2019-04-28 10:22:54 · 876 阅读 · 0 评论 -
【Delphi】ListView +CheckBoxs 设置 限制 选几项的效果
procedure TOutUsbgrouplistFrm.lv_GroupMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); var myitem:TListItem; MyHItTest:THitTests; i,j:Integer; beginmyitem:=lv_Grou...原创 2018-03-28 13:27:55 · 1650 阅读 · 0 评论 -
【Delphi】 Listview OnCustomDrawItem事件注意事项
Listview 的 OnCustomDrawItem如果在该 事件方法里 存在操作改变 该listitem的 事项 会导致不断触发 该函数,从而使整个窗体处于繁忙;目前发现 ontimer 计时器 不会定时执行,如操作有messagebox也无法弹出,只有按键盘 alt键...原创 2018-03-28 13:26:21 · 1666 阅读 · 0 评论