在WinCE应用程序中禁用和启用单选按钮?

问题描述:



我需要禁用单选按钮和圈子一起。

I need to disable the radio button along with circle.

我试过这段代码..

 

HWND hDlgItem = GetDlgItem( GPSDlg,rdio1);

HWND hDlgItem = GetDlgItem(GPSDlg,rdio1);

EnableWindow(hDlgItem,FALSE);

EnableWindow(hDlgItem,FALSE);

 

 

但是这段代码禁用单选按钮名称而不是圆圈......

but this code disable the radio button name not the circle...

请任何帮助.........

please any help.........

查看我对你的另一篇文章的回答。顺便说一下GPSDlg是拥有单选按钮的对话框的HWND,不是吗?
see my answer to your other post. by the way GPSDlg is the HWND of the dialog owning the radio button, isn't it?