简体   繁体   English

Windows Mobile 6.5中的MessageBox

[英]MessageBox in windows mobile 6.5

I have a list view where-in I have to show an informational message box when selected item does not comply with properties. 我有一个列表视图,当选定的项目不符合属性时,我必须在其中显示一个信息性消息框。

However, In windows mobile 6.5 the message box with 'OK' accepts any click on the message box. 但是,在Windows Mobile 6.5中,带有“确定”的消息框接受对消息框的任何单击。 ie the user need not click on the 'OK' button. 也就是说,用户无需单击“确定”按钮。

This causes problem when the user clicks more than twice, the message box appears and disappears immediately. 当用户单击两次以上时,这会导致问题,消息框出现并立即消失。

Is there a way for me to control/restrict the click only to 'OK' button. 有没有一种方法可以控制/限制仅单击“确定”按钮。

I've seen that the boxes with only the Ok Button closes as soon as you touch the messagebox even if it is not on the button. 我已经看到只有“ 确定”按钮的会在您触摸消息框后立即关闭,即使它不在按钮上也是如此。 It is a change from the previous version. 它是对先前版本的更改。 But, messageboxes with two or more buttons should behave normally. 但是,带有两个或更多按钮的消息框应正常运行。

Hope this helps:) 希望这可以帮助:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM