关于vc中Warning: skipping non-radio button in group的警告

在vc debug 中出现Warning: skipping non-radio button in group的警告,则说明在 某一组控件中,有些控件不是radio button控件。

如我在界面中有以下控件及属性,
radio1     group       taborder=1
radio2     not group   taborder=2
radio3     not group   taborder=3
edittext   not group   taborder=4
botton1    group       taborder=5
botton2    not group   taborder=6
象这样的定义,说明 taborder1~taborder4 是属于一组控件,但是在这组控件中taborder=4的edittext并不是radio button控件,这样将会引发以上警告的产生。

解决方法可以如下:
radio1     group       taborder=1
radio2     not group   taborder=2
radio3     not group   taborder=3
edittext   group       taborder=4
botton1    not group   taborder=5
botton2    not group   taborder=6
 
有关线索:Ctrl+D,  DLGDATA.cpp  , DDX_Radio
posted @ 2007-10-31 15:43  finema  阅读(1788)  评论(0编辑  收藏  举报