在C ++中管理cedit控件的Tab键顺序 [英] Manage the tab order for cedit controls in C++

查看:76
本文介绍了在C ++中管理cedit控件的Tab键顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello World,我正在用C ++处理我的第一个任务,我不得不在窗口上添加一个新的Cedit控件(对我来说,这就是我以前称之为文本框)(如果可以这样调用的话) 。

现在我无法实现对新的操作的关注。



另外,我需要发送输入的文字在下一页显示的其中一个新控件中。



有人能帮助我吗?当然我可以花时间找出来,但我有只有几天才能到达结束时间



提前致谢!!!



我尝试了什么:



我在VB Net中一直在寻找我曾经知道的Tab Order,但在C ++中它只是看它不存在,并且标签位置突然出现。



在第二个问题中,程序(它是alredy开发的)有一个结构看起来有什么用,但我无法让它正常工作。

解决方案

您可以更改 Microsoft 中描述的Tab键顺序。或者非常小心地手动对资源文件中的控件进行排序。



如果您需要其他地方的文本,您可以创建一些全局对象/数据存储来传输它。但使用后请小心清除它。


Hello World, I´m dealing with my first task with C++ and I had to add a new Cedit control (for me, this is what I used to call a textbox) on a window (if it can be called so).
Now I just can´t achieve to manipulate the focus on the new ones.

Also, I need to send a text entered in one of the new controls to be displayed in the next page.

Can anybody help me ?, of course I could take my time to find out, but I have only a couple of days to reach the end time

Thanks in advance !!!

What I have tried:

I´d been looking for what I used to know as "Tab Order" in VB Net, but in C++ it just look that it doesn´t exist, and the tab positions come out of nowhere.

In the second problem the program (it is alredy developed) has a structure for what it seems to work, but I can´t get it to work properly.

解决方案

You can change the tab order as decribed from Microsoft. Or manually sort the controls in the resource files with extreme care.

If you need the text somewhere else you can make some global object/data store to transfer it. But be careful to clear it after use.


这篇关于在C ++中管理cedit控件的Tab键顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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