在编译Windows exe上从控件获取价值 [英] Getting value from Controls on a compile windows exe

查看:55
本文介绍了在编译Windows exe上从控件获取价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在2个Windows应用程序(exe)之间建立桥梁.不幸的是,我们公司没有这两个旧应用程序的正确文献记录.一个应用程序具有一个包含列和行的listview控件,当单击每一行并将其传递到另一个exe应用程序的文本框时,我需要获取的是该列表视图的第二列的值.我听说过子钩子,但我不确定这是前进的方向.我目前正在使用C#来架桥.谁能帮我吗?谢谢.

I'm trying to build a bridge between 2 windows applications (exe). Unfortunately, our company has no proper documentaion of these 2 old applications. One application has a listview control that has columns and rows, what i need to get is the value of the 2nd column of that list view when each row is clicked and pass it to a textbox to the other exe application. I heard about sub hooking but I'm not really sure is this is the way forward. I'm currently using C# to make this bridge. Can anyone help me please? Thanks.

推荐答案

我正在尝试在2个Windows应用程序(exe)之间建立桥梁.不幸的是,我们公司没有这两个旧应用程序的正确文献记录.一个应用程序具有一个包含列和行的listview控件,当单击每一行并将其传递到另一个exe应用程序的文本框时,我需要获取的是该列表视图的第二列的值.我听说过子钩子,但我不确定这是前进的方向.我目前正在使用C#来架桥.谁能帮我吗?谢谢.
I'm trying to build a bridge between 2 windows applications (exe). Unfortunately, our company has no proper documentaion of these 2 old applications. One application has a listview control that has columns and rows, what i need to get is the value of the 2nd column of that list view when each row is clicked and pass it to a textbox to the other exe application. I heard about sub hooking but I'm not really sure is this is the way forward. I'm currently using C# to make this bridge. Can anyone help me please? Thanks.


这篇关于在编译Windows exe上从控件获取价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆