| 1184 | } |
| 1185 | |
| 1186 | SWindow * SRadioBox::GetSelectedSiblingInGroup() |
| 1187 | { |
| 1188 | SWindow *pParent=GetParent(); |
| 1189 | SASSERT(pParent); |
| 1190 | SWindow *pSibling=pParent->GetWindow(GSW_FIRSTCHILD); |
| 1191 | while(pSibling) |
| 1192 | { |
| 1193 | if(pSibling->IsClass(GetClassName())) |
| 1194 | { |
| 1195 | SRadioBox * pRadio=(SRadioBox*)pSibling; |
| 1196 | if(pRadio->IsChecked()) return pRadio; |
| 1197 | } |
| 1198 | pSibling=pSibling->GetWindow(GSW_NEXTSIBLING); |
| 1199 | } |
| 1200 | return NULL; |
| 1201 | } |
| 1202 | |
| 1203 | |
| 1204 | HRESULT SRadioBox::OnAttrCheck( const SStringW& strValue, BOOL bLoading ) |
no test coverage detected