首页 »标签 » delphilistview » 列表
当ListView当前选择项目更改时保存它Index值然后其它地方就操作这个值就行了如下: ...... .uMsgWM_NOTIFY movebx,lParam assumeebx:ptrNM_LISTVIEW pushebx moveax,hList;hList是ListView句柄 .[ebx].hdr.codeLVN_ITEMCHANGED&&[ebx].hdr.hwndFromeax push[ebx].iItem popCurrItem ;当前ListViewIndex保存到CurrItem中 .end popebx assumee [阅读全文] [PDF]
模块,命名为:CTooltip,代码如下:Option ExplicitPrivate Declare Sub InitCommonControls Lib \"comctl32.dll\" ()´´Windows API FunctionsPrivate Declare Function CreateWindowEx Lib \"user32\" Alias \"CreateWindowExA\" (ByVal dwExStyle As Long, ByVal lpClassName As String, ByVal lpWind [阅读全文] [PDF]
ListView实在是超级无敌复杂地难封装啊,Vista下的ListView简直是万能的,以至于我萌生了将grid和tree-grid都用ListView来实现的想法。当然这只是想一想,暂时不想做。这个ListView花了1700行代码封装完成,共有4个类,分别是item、column、group和listview,listview自己的事件16个。 本文内容有两幅示例以及.h、.cpp以及main函数代码 图1:初始化 图2:点击column并排序(按照所属column的文字) 代码1:使用 1 #include "..\..\..\..\VL [阅读全文] [PDF]
(*//标题:获取其他进程中ListView的文本说明:Window2000+Delphi6调试通过设计:Zswang支持:[email protected]日期:2004-03-25//*)uses CommCtrl;function ListViewColumnCount(mHandle: THandle): Integer;begin Result := Header_GetItemCount(ListView_GetHeader(mHandle));end; { ListViewColumnCount }function G [阅读全文] [PDF]
1 共4条 分1页
- 单片机数码管:51单片机数码管显示的好帮手---MAX...
- 点阵显示屏:智能点阵显示屏HCMS-29xx/39xx及其应用
- 单片机教程:单片机编程入门七
- 汇编语言指令集:IBM-PC汇编语言指令集
- 数据传送指令:MCS-51数据传送指令
- 0083智能工社:浅谈足球游戏的人工智能
- 提拔将领:即时战略游戏将领指挥AI方案设想
- directinput:DirectInput 鼠标编程入门
- 实现爆炸后的振动效果
- 飞机射击类小游戏:有关飞机射击类游戏的设计原理
- 音效最好的播放器:游戏音乐和音效的播放
- 游戏调试:利用双计算机调试游戏程序
- 多任务处理:游戏中的多任务处理
- 电脑游戏中的人工智能制作
- 系统升级:角色扮演游戏的升级系统研究
- rpg游戏制作:深入RPG游戏制作—图形篇
- directdraw:通向DirectDraw的捷径
- 3d场景:如何在3D场景中加入Fog
- 游戏搜索:论游戏中的搜索问题(初级篇)
- directx如何使用:使用DirectX优化声音特性