Вверх ↑
Ответов: 6
Рейтинг: 0
#1: 2021-01-18 13:53:35 ЛС | профиль | цитата
Теперь прошу помощи в получение текста (списка всех строк) из SysListView32 через сообщение окну.

свою попытку в виде схемы прикладываю.

Add(RichEdit,16572225,875,518)
{
Left=110
Top=265
Width=495
Height=390
ScrollBars=3
}
Add(SendMessage,6134360,518,511)
{
Message=13
Point(Message)
link(onSend,13525776:doEvent1,[])
link(Handle,14549411:Handle,[(524,355)(489,355)])
link(WParam,13550116:Text,[])
link(LParam,15444758:Memory,[(538,489)(804,489)])
link(Message,11481584:Text,[(545,353)(580,353)])
}
Add(Hub,2009082,420,504)
{
InCount=2
OutCount=3
link(onEvent1,12294358:doEvent1,[(461,510)(461,454)])
link(onEvent2,6134360:doSendMessage,[])
}
Add(MemoryStream,15444758,784,434)
{
Point(Memory)
Point(doSize)
}
Add(DoData,1388538,679,448)
{
@Hint=#65:Должен быть установлен в размер, достаточный для помещения строки|15:(LB_GETTEXTLEN)|
Data=Integer(9999)
link(onEventData,15444758:doSize,[])
AddHint(30,-87,198,39,@Hint)
}
Add(Hub,13525776,574,511)
{
OutCount=4
link(onEvent1,12294358:doEvent2,[(616,517)(616,461)])
link(onEvent2,9924775:doConvert,[])
link(onEvent3,15444758:doClear,[(673,531)(673,447)])
link(onEvent4,7232723:doText,[(609,538)(609,545)])
}
Add(InfoTip,14219184,623,490)
{
Info=#16:Подгонка размера|
Width=148
Height=25
}
Add(Hub,12294358,644,448)
{
InCount=2
OutCount=1
link(onEvent1,1388538:doData,[])
}
Add(StreamConvertor,9924775,784,518)
{
Mode=6
Point(Data)
link(onResult,16572225:doAdd,[])
link(Data,15444758:Stream,[])
}
Add(Edit,11481584,574,245)
{
Left=210
Top=240
Text="4100"
}
Add(Edit,7232723,630,539)
{
Left=340
Top=240
Width=110
}
Add(Edit,13550116,525,245)
{
Left=155
Top=240
Text="1"
}
Add(Memory,15289948,469,182)
{
Default=String(Edit1;ediT2;edit3)
}
Add(Timer,2630583,322,245)
{
Interval=10
AutoStop=10
link(onTimer,14549411:doAdd,[])
}
Add(Button,8681122,364,504)
{
Left=265
Top=240
link(onClick,2009082:doEvent1,[])
}
Add(StrList,5951154,763,245)
{
Strings=#21:1000 4096 LVM_FIRST|26:1000 4096 LVM_GETBKCOLOR|26:1001 4097 LVM_SETBKCOLOR|28:1002 4098 LVM_GETIMAGELIST|28:1003 4099 LVM_SETIMAGELIST|28:1004 4100 LVM_GETITEMCOUNT|24:1005 4101 LVM_GETITEMA|24:1006 4102 LVM_SETITEMA|27:1007 4103 LVM_INSERTITEMA|26:1008 4104 LVM_DELETEITEM|30:1009 4105 LVM_DELETEALLITEMS|31:100a 4106 LVM_GETCALLBACKMASK|31:100b 4107 LVM_SETCALLBACKMASK|27:100c 4108 LVM_GETNEXTITEM|25:100d 4109 LVM_FINDITEMA|27:100e 4110 LVM_GETITEMRECT|31:100f 4111 LVM_SETITEMPOSITION|31:1010 4112 LVM_GETITEMPOSITION|31:1011 4113 LVM_GETSTRINGWIDTHA|23:1012 4114 LVM_HITTEST|29:1013 4115 LVM_ENSUREVISIBLE|22:1014 4116 LVM_SCROLL|27:1015 4117 LVM_REDRAWITEMS|23:1016 4118 LVM_ARRANGE|26:1017 4119 LVM_EDITLABELA|30:1018 4120 LVM_GETEDITCONTROL|26:1019 4121 LVM_GETCOLUMNA|26:101a 4122 LVM_SETCOLUMNA|29:101b 4123 LVM_INSERTCOLUMNA|28:101c 4124 LVM_DELETECOLUMN|30:101d 4125 LVM_GETCOLUMNWIDTH|30:101e 4126 LVM_SETCOLUMNWIDTH|25:101f 4127 LVM_GETHEADER|31:1021 4129 LVM_CREATEDRAGIMAGE|27:1022 4130 LVM_GETVIEWRECT|28:1023 4131 LVM_GETTEXTCOLOR|28:1024 4132 LVM_SETTEXTCOLOR|30:1025 4133 LVM_GETTEXTBKCOLOR|30:1026 4134 LVM_SETTEXTBKCOLOR|27:1027 4135 LVM_GETTOPINDEX|31:1028 4136 LVM_GETCOUNTPERPAGE|25:1029 4137 LVM_GETORIGIN|22:102a 4138 LVM_UPDATE|28:102b 4139 LVM_SETITEMSTATE|28:102c 4140 LVM_GETITEMSTATE|28:102d 4141 LVM_GETITEMTEXTA|28:102e 4142 LVM_SETITEMTEXTA|28:102f 4143 LVM_SETITEMCOUNT|25:1030 4144 LVM_SORTITEMS|33:1031 4145 LVM_SETITEMPOSITION32|32:1032 4146 LVM_GETSELECTEDCOUNT|30:1033 4147 LVM_GETITEMSPACING|33:1034 4148 LVM_GETISEARCHSTRINGA|30:1035 4149 LVM_SETICONSPACING|40:1036 4150 LVM_SETEXTENDEDLISTVIEWSTYLE|40:1037 4151 LVM_GETEXTENDEDLISTVIEWSTYLE|30:1038 4152 LVM_GETSUBITEMRECT|30:1039 4153 LVM_SUBITEMHITTEST|35:103a 4154 LVM_SETCOLUMNORDERARRAY|35:103b 4155 LVM_GETCOLUMNORDERARRAY|26:103c 4156 LVM_SETHOTITEM|26:103d 4157 LVM_GETHOTITEM|28:103e 4158 LVM_SETHOTCURSOR|28:103f 4159 LVM_GETHOTCURSOR|35:1040 4160 LVM_APPROXIMATEVIEWRECT|28:1041 4161 LVM_SETWORKAREAS|32:1042 4162 LVM_GETSELECTIONMARK|32:1043 4163 LVM_SETSELECTIONMARK|27:1044 4164 LVM_SETBKIMAGEA|27:1045 4165 LVM_GETBKIMAGEA|28:1046 4166 LVM_GETWORKAREAS|28:1047 4167 LVM_SETHOVERTIME|28:1048 4168 LVM_GETHOVERTIME|36:1049 4169 LVM_GETNUMBEROFWORKAREAS|27:104a 4170 LVM_SETTOOLTIPS|24:104b 4171 LVM_GETITEMW|24:104c 4172 LVM_SETITEMW|27:104d 4173 LVM_INSERTITEMW|27:104e 4174 LVM_GETTOOLTIPS|25:1053 4179 LVM_FINDITEMW|31:1057 4183 LVM_GETSTRINGWIDTHW|26:105f 4191 LVM_GETCOLUMNW|26:1060 4192 LVM_SETCOLUMNW|29:1061 4193 LVM_INSERTCOLUMNW|28:1073 4211 LVM_GETITEMTEXTW|28:1074 4212 LVM_SETITEMTEXTW|33:1075 4213 LVM_GETISEARCHSTRINGW|26:1076 4214 LVM_EDITLABELW|27:108b 4235 LVM_GETBKIMAGEW|33:108c 4236 LVM_SETSELECTEDCOLUMN|28:108d 4237 LVM_SETTILEWIDTH|23:108e 4238 LVM_SETVIEW|23:108f 4239 LVM_GETVIEW|27:1091 4241 LVM_INSERTGROUP|28:1093 4243 LVM_SETGROUPINFO|28:1095 4245 LVM_GETGROUPINFO|27:1096 4246 LVM_REMOVEGROUP|25:1097 4247 LVM_MOVEGROUP|31:109a 4250 LVM_MOVEITEMTOGROUP|31:109b 4251 LVM_SETGROUPMETRICS|31:109c 4252 LVM_GETGROUPMETRICS|31:109d 4253 LVM_ENABLEGROUPVIEW|26:109e 4254 LVM_SORTGROUPS|33:109f 4255 LVM_INSERTGROUPSORTED|31:10a0 4256 LVM_REMOVEALLGROUPS|24:10a1 4257 LVM_HASGROUP|31:10a2 4258 LVM_SETTILEVIEWINFO|31:10a3 4259 LVM_GETTILEVIEWINFO|27:10a4 4260 LVM_SETTILEINFO|27:10a5 4261 LVM_GETTILEINFO|29:10a6 4262 LVM_SETINSERTMARK|29:10a7 4263 LVM_GETINSERTMARK|33:10a8 4264 LVM_INSERTMARKHITTEST|33:10a9 4265 LVM_GETINSERTMARKRECT|34:10aa 4266 LVM_SETINSERTMARKCOLOR|34:10ab 4267 LVM_GETINSERTMARKCOLOR|26:10ad 4269 LVM_SETINFOTIP|33:10ae 4270 LVM_GETSELECTEDCOLUMN|34:10af 4271 LVM_ISGROUPVIEWENABLED|31:10b0 4272 LVM_GETOUTLINECOLOR|31:10b1 4273 LVM_SETOUTLINECOLOR|31:10b3 4275 LVM_CANCELEDITLABEL|28:10b4 4276 LVM_MAPINDEXTOID|28:10b5 4277 LVM_MAPIDTOINDEX|29:10b6 4278 LVM_ISITEMVISIBLE|
}
Add(InfoTip,6935600,665,196)
{
Info=#33:Список Команд Окну SysListView32|
Width=260
Height=123
}
Add(StringTable,14549411,469,245)
{
Left=110
Top=15
Width=490
Height=215
Point(Handle)
link(Str,15289948:Value,[])
}

карма: 0

0