[질문] 다이얼로그 기반 CFrameWnd 이용한 화면분할...
모은
현재 진행되는 프로젝트에서 진도가 안나가서 막힌 상태네요..
제목에서 처럼 다이얼로그 기반에서 cframewnd를 이용하여 위 아래 각각 cformview를 올려놓은 상태입니다.
하지만 동그라미 부분을 보시면
프레임(경계선)이 보여져서 전체적인 화면 구성에 어려움이 있습니다.
구현은 현재
cformmain (cformview)에서
위아래 화면 뷰를 올리는데..
이는 다이얼로그 위에 cformmain view를 올리고.. 여기서 다시 상단과 하단으로 나뉩니다.
cformmain view에서 다음과 같이 구현되었습니다.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
ccreatecontext context;
crect rect;
rect.top = 0;
rect.left = 0;
rect.bottom = 76;
rect.right = 800;
// top view
if(m_myframetop.m_hwnd) // m_myframetop는 cframewnd
m_myframetop.destroywindow();
m_myframetop.create(null, null, ws_child | ws_visible, rect, this);
context.m_pcurrentdoc = null;
context.m_pcurrentframe = null;
context.m_pnewviewclass = runtime_class(cmainmenutop);
m_myframetop.createview(&context);
//m_myframetop.recalclayout();
m_myframetop.showwindow(sw_show);
//m_myframetop.initialupdateframe(null, true);
//m_myframetop.modifystyle(ws_ex_staticedge | ws_ex_windowedge | ws_ex_clientedge,0,0);
//m_myframetop.modifystyleex(ws_ex_staticedge | ws_ex_windowedge | ws_ex_clientedge,0,swp_nozorder);
//m_myframetop.getparent()-modifystyle(ws_border,0,0);
// center view
rect.top = 76;
rect.left = 0;
rect.bottom = 327 + 76;
rect.right = 800;
if(m_myframecenter.m_hwnd) // m_myframecenter는 cframewnd
m_myframecenter.destroywindow();
m_myframecenter.create(null, null, ws_child | ws_visible , rect, this);
context.m_pcurrentdoc = null;
context.m_pcurrentframe = null;
context.m_pnewviewclass = runtime_class(cmainmenucenter);
m_myframecenter.createview(&context);
//m_myframecenter.recalclayout();
m_myframecenter.showwindow(sw_show);
//m_myframecenter.initialupdateframe(null, true);
//m_myframecenter.modifystyle(ws_ex_staticedge | ws_ex_windowedge | ws_ex_clientedge,0,0);
//m_myframecenter.modifystyleex(ws_ex_staticedge | ws_ex_windowedge | ws_ex_clientedge,0,swp_nozorder);
//m_myframecenter.getparent()-modifystyle(ws_border,0,0);
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
빨간색 부분에 중점적으로 수정을 해왔으나 여전히 문제가 되네요..
여기저기 알아보면..
modifystyle() 대한 수정도 있고해서 실행을 해봤으나..
여전히 변화가 없는 상태입니다.
제가 의도하는 것은 저 경계선이 없으며 위아래가 자연스래 이어져 가길 원합니다..
사이트 회원분께.. 참고나 지적 부탁드립니다.
번호 | 제 목 | 글쓴이 | 날짜 |
---|---|---|---|
2700359 | 3.0 ) SimpleButton 상태 강제 변경 (3) | 희선 | 2025-07-04 |
2700304 | ie8 전용핵 문의 (3) | 여자 | 2025-07-03 |
2700281 | 이런경우 어떻게 코딩해야 표준에 따르는건가요? (6) | 늘솜 | 2025-07-03 |
2700230 | 질문이여 ! | 뿡뿡몬 | 2025-07-03 |
2700205 | 액션스크립트책 좀 추천해주세요. (10) | 화이트캣 | 2025-07-02 |
2700173 | 자바 소스인데 어떤게 에러인지..? (1) | 호빵녀 | 2025-07-02 |
2700142 | 하단이 붙어있는 가변 레이아웃구조 질문드립니다. | 이플 | 2025-07-02 |
2700089 | 이미지를 사다리꼴로 비틀게 하는 액션코드가 있나요? (4) | 여름 | 2025-07-01 |
2700033 | 배경에 그라데이션을 넣으려고 하는데요.. (4) | 화이티 | 2025-07-01 |
2700005 | [질문] TextField 객체의 실제 높이 알아오는 방법 ? | 천사의눈물 | 2025-07-01 |
2699978 | FileReferenceList를 이용하여 업로드시 자꾸 실행속도가 느리다는 팝업이... (10) | 데이비드 | 2025-06-30 |
2699944 | 자바스크립트가 많은 사이트는... (6) | 희나리 | 2025-06-30 |
2699918 | 브라우저마다 다른 input과 텍스트 정렬 (3) | 늘봄 | 2025-06-30 |
2699887 | 동적텍스트를 그래픽으로?? (2) | 족장 | 2025-06-30 |
2699862 | scope넣기 (1) | 아인 | 2025-06-29 |
2699835 | exe로 만드는 방법을....알려주세요.. (5) | 방방 | 2025-06-29 |
2699809 | 롤오버할때 백그라운드 이미지로할때 alt설명은 어떻게해야하죠?..ㅠ (4) | 반혈 | 2025-06-29 |
2699757 | 리스트뷰에 있는 내용을 랜덤으로 추출 | 세실 | 2025-06-28 |
2699725 | JMX 질문입니다. (1) | 시나브로 | 2025-06-28 |
2699695 | 으으아으ㅏ으ㅏ 정말미쳐버리겟네요 | 진달래 | 2025-06-28 |