Windows Mobile中的MFC对话框 [英] MFC dialog in windows mobile

查看:73
本文介绍了Windows Mobile中的MFC对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Windows Mobile中创建了一个对话框,其中包含动态创建的单选按钮和一些表格形式的静态文本.该列表根据不同的数据在运行时增长.例如
静态文字1按钮1按钮2按钮3
静态文本2 button1 button2 button3

按钮仅按行分组.

现在,当我创建包含多达23行这些控件的对话框时,它的表现绝对不错.但是当我增加了不.只有一排的行被打乱了这些控件的对齐方式.我很想知道为什么会这样?

另外,我还添加了垂直滚动来滚动对话框,以使这些控件正确显示.并且我基于编号增加了对话框的高度.我要显示的行数.

是由于滚动引起的还是由于控件的创建?我在这里完全空白.请提出一些识别问题或建议解决方案的方法.

I have created a dialog in windows mobile which contains dynamically created radio buttons and some static texts in a tabular form. The list grows up at runtime based on the different data. e.g.
static text1 button1 button2 button3
static text2 button1 button2 button3

buttons are grouped in rows only.

Now When I created the dialog with as much as 23 rows of these controls, it was behaving absolutely fine. But when i increased the no. of rows by one only the alignment of these controls were disturbed. I am wondeing why this happened?

Also I have added vertical scroll to scroll the dialog for these controls to show correctly. and I am increasing the height of the dialog based on the no. of rows i am getting to display.

Is it caused due to scrolling or is it due to the creation of controls? I am completely blank here. please suggest some way to identify the problem or advise any solution.

推荐答案

当您说对齐方式受到干扰时,这到底是什么意思?您是否在考虑垂直滚动条的宽度?
When you say the alignment was disturbed, what does that mean exactly? Are you taking into consideration the width of the vertical scrollbar?


这篇关于Windows Mobile中的MFC对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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