我在对话框里用以下函数取Edit控件的句柄,
Number=FindWindowEx(WinH,0,"Edit",NULL);但只能取第一个Edit控件的句柄,如何取第二个,第三个呢?
Number=FindWindowEx(WinH,0,"Edit",NULL);但只能取第一个Edit控件的句柄,如何取第二个,第三个呢?
解决方案 »
- CTreeCtrl控件设置hasbutton属性为true后,为什么显示+ -而不是三角号呢
- VC 界面
- 请解决我的这个关于SOCKET发消息给内网的具体问题
- 我的SDI程序要在命令行下运行,并能在程序中获取命令行参数,比如myPro.exe 1.txt,我如何在程序中得到1.txt?
- 请教高人:VC如何实现显示资源的拖拽保存?
- Win2000/XP下隐藏进程成功,但经常蓝屏!求解?
- 水晶报表中,"未启用创建功能"什么意思?
- SQLite3 在MFC中怎么忘数据库里面插入数据?请高手详细解释一下!
- 头文件和实现文件的分离
- 用什么指令撤消SHFileOPeration()的操作?
- 简单的上下文菜单问题
- 打印时,使用的单位
Number=FindWindowEx(WinH,Number,"Edit",NULL);
hwndChildAfter
[in] Handle to a child window. The search begins with the next child window in the Z order. The child window must be a direct child window of hwndParent, not just a descendant window.
If hwndChildAfter is NULL, the search begins with the first child window of hwndParent. Note that if both hwndParent and hwndChildAfter are NULL, the function searches all top-level and message-only windows.
代表从哪个窗口开始查找
但这个需要用spy++等工具来看控件的id