[질문] 다이얼로그 기반 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() 대한 수정도 있고해서 실행을 해봤으나..
여전히 변화가 없는 상태입니다.
제가 의도하는 것은 저 경계선이 없으며 위아래가 자연스래 이어져 가길 원합니다..
사이트 회원분께.. 참고나 지적 부탁드립니다.
번호 | 제 목 | 글쓴이 | 날짜 |
---|---|---|---|
2658759 | 메뉴를 만들때 | 큰깃 | 2024-06-19 |
2658732 | CSS TR적용질문인데요.. (8) | 터큰 | 2024-06-18 |
2658705 | java에서 문자열안에서 문자 찾기 (6) | 갤2 | 2024-06-18 |
2658682 | CSS와 HTML의 궁금한 점..? | 해긴 | 2024-06-18 |
2658656 | sublime text2 사용하시는분 (인코딩 질문) | 연블랙 | 2024-06-18 |
2658627 | 윈도우8 데브C 재질문드립니다;; (1) | 이플 | 2024-06-17 |
2658605 | 아스킷코드값 질문이요 | 두바다찬솔 | 2024-06-17 |
2658574 | 접근성 코딩 공부는 어떻게 해야할까요? ㅠ_ㅠ; (6) | 머즌일 | 2024-06-17 |
2658545 | 각각 오브젝트들의 멀티터치 (1) | 에다 | 2024-06-17 |
2658520 | PHP 에서요 | 꽃큰 | 2024-06-16 |
2658491 | 동영상 재생 (4) | 가을바람 | 2024-06-16 |
2658468 | 플래시로 포트폴리오를 만들때.. (1) | 곰돌곰돌 | 2024-06-16 |
2658441 | 상속 문법에 생소한게 있어 질문드립니다. | 도1도캣 | 2024-06-16 |
2658381 | 구글로그인어떻게하나여 아무것도몰라서집어넣기만했는데 ㅜㅜ (1) | 예린 | 2024-06-15 |
2658353 | 엑셀과 연동해서 프로그램 작성 질문좀...??? | Sweeety | 2024-06-15 |
2658327 | 아파치와 톰캣 연동을 했는데요.. (3) | 바르고 | 2024-06-15 |
2658297 | AIR for iOS 에서 실제 디바이스로 테스트 하기에 대해 (2) | 란새 | 2024-06-14 |
2658265 | dl 을 쓸때 (1) | 소윤 | 2024-06-14 |
2658214 | 어떨때 쓰는건지 궁금해요 (4) | 가시 | 2024-06-14 |
2658182 | 하루에 하나 정도는 여기에 올리네요.. ^-^;;..오늘도 자스쪽 질문이에요..스타일 적용 질문요... (5) | 갤투 | 2024-06-13 |