Vusial C++사용중
"Warning: skipping non-radio button in group"과 같은 에러 메세지 등장...
이게 머지..하고 당황하다가 구글 뉴스그룹(http://groups.google.co.kr)에서 찾은 해결책
"
Your dialog has anon radiobuttonobject in the middle of agroupof
radio buttons. Edit your dialog such that:
1. The radio buttons are in sequential "tab order" with nothing else in
between them.
2. The first radiobuttonin the tab order has the "GROUP" attribute
set.
3. None of the other buttons in thegrouphave "GROUP" set.
4. The item in the tab order immediately following the last radiobutton
has "GROUP" set.
" __원문
즉, Radio Group에 Radio button이 아닌 다른 control button이 포함되었다는 이야기..
해결방법은
1. radio button의 tab order를 순서대로 지정한다.
2. radio group tab order의 첫번째 button은 속성의 GROUP를 체크한다.
3. radio button의 첫번째외에는 group 속성을 체크하지 말것.
4. tab order에서 radio group들 바로 다음번인 control button의 속성 GROUP을 체크한다.
여기서 가장 중요한것은 4번이다.
Radio button은 group 속성 체크한것부터 다음번 group속성 체크된 control button바로 전까지를
같은 group로 사용한다.
이때 그 사이에 radio button이 아닌 다른 control button이 끼여있다면
radio button이 아닌것이 radio group으로 간주되어 "Warning"을 발생하게 된다..
휴~~이것때문에 한시간 넘게 소비했다는..ㅡㅜ 역시 모르면 배워야돼...암~^ㅡ^v
'Programming > MFC' 카테고리의 다른 글
리스트 박스 마지막 줄 표시 (0) | 2007.08.31 |
---|---|
메모리 릭 찾기 (0) | 2007.08.10 |
ReadFile (0) | 2007.07.17 |
메뉴에 항목을 넣고 활성화 시키고, 메시지 받아오기 (0) | 2007.06.12 |
공백있는 경로의 프로그램을 실행시킬때... (0) | 2007.06.05 |