- CVI 정보나눔(www.cvi.kr)
- 스터디
- 질문답변
질문,답변
글 수 1,629
Panel을 display, Hide, 그리고 Discard 하는 데 있어서 불필요한 RunUserInterface()를 끼워넣는 바람에 이상하게 되었군요.
Panel은
LoadPanel() 함수로 메모리로 Load 하고,
DisplayPanel() 함수로 화면에 Display하고,
HidePanel() 함수로 화면에서 숨깁니다.
그리고, 더 이상 메모리에 있을 필요가 없을때,
DiscardPanel() 함수로 프로그램 메모리에서 제거합니다.
님이 올리신 소스를 약간 수정하여 다시 올렸습니다.
RunUserInterface() 때문에 혼동을 하신 것 같아서요...
그럼, 좋은 하루되세요.
Panel은
LoadPanel() 함수로 메모리로 Load 하고,
DisplayPanel() 함수로 화면에 Display하고,
HidePanel() 함수로 화면에서 숨깁니다.
그리고, 더 이상 메모리에 있을 필요가 없을때,
DiscardPanel() 함수로 프로그램 메모리에서 제거합니다.
님이 올리신 소스를 약간 수정하여 다시 올렸습니다.
RunUserInterface() 때문에 혼동을 하신 것 같아서요...
그럼, 좋은 하루되세요.
그런데 RunUserInterface()가 어떤 역할을 하는 거지요? 메뉴얼에는
RunUserInterface
int status = RunUserInterface (void);
Purpose
RunUserInterface runs the User Interface and issues events to callback functions.
RunUserInterface does not return until QuitUserInterface is called from within a
callback function. The value returned by RunUserInterface is the value that was passed to
QuitUserInterface.
라고 되어 있는 데요. RunUserInterface()를 쓰지 않으면 콜백 함수를 받을 수 없는 건가요? 아니면 생성된 패널 간의 멀티 타스킹에 차이점이 있나요?
RunUserInterface
int status = RunUserInterface (void);
Purpose
RunUserInterface runs the User Interface and issues events to callback functions.
RunUserInterface does not return until QuitUserInterface is called from within a
callback function. The value returned by RunUserInterface is the value that was passed to
QuitUserInterface.
라고 되어 있는 데요. RunUserInterface()를 쓰지 않으면 콜백 함수를 받을 수 없는 건가요? 아니면 생성된 패널 간의 멀티 타스킹에 차이점이 있나요?
감사합니다. 많은 도움이 되었습니다. ^^