同一个窗体中有两个Edit控件,如何区分?

chriswing 大本营  2002-12-29 11:31:19
在我的程序要要取得另一个窗体中的edit控件的句柄,偶是用findwindow->findwindowex,可是目标窗体中有两个edit控件,我如何区分他们啊?
...全文
7 点赞 收藏 3
写回复
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
chriswing 2002-12-29
For example , There are two textbox in the form.
I may use FindWindow to get the handle of the form,then get one handle of textbox by using FindWindowEx and How can i cat the other textbox 's handle?
回复
chriswing 2002-12-29
If their caption are all null(" "),then how can i get their handle?
Can you show me some source,thank u! LOL
回复
use theis's text( caption ) or use handle, may be one is large and the other is small.
回复
发动态
发帖子
VB基础类
创建于2007-09-28

7451

社区成员

VB 基础类
申请成为版主
社区公告
暂无公告