[질문] 다이얼로그 기반 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() 대한 수정도 있고해서 실행을 해봤으나..
여전히 변화가 없는 상태입니다.
제가 의도하는 것은 저 경계선이 없으며 위아래가 자연스래 이어져 가길 원합니다..
사이트 회원분께.. 참고나 지적 부탁드립니다.
번호 | 제 목 | 글쓴이 | 날짜 |
---|---|---|---|
2702543 | C++ 프로그램을 웹연동시킬경우 | 아이폰 | 2025-07-24 |
2702487 | 저작권관련 긴급질문요~ (6) | 지희 | 2025-07-23 |
2702459 | 최근 포트폴리오 부분 질문드려요 | 흰가람 | 2025-07-23 |
2702431 | 플래시9에서 lite는 얼마나 발전할까요? (6) | 자올 | 2025-07-23 |
2702375 | mvc패턴 게시판 ..........아힘들어요 고수님들좀상세히도와주세요;; (3) | 냐하 | 2025-07-22 |
2702317 | ie6메뉴 보더문제 (3) | VanilLa | 2025-07-22 |
2702287 | c++ 변수 중간값 뽑아내서 비교하는 법 | 헛장사 | 2025-07-21 |
2702258 | AS2,0 함수에서 매개변수의 타입이 각각 다를때는? (5) | 하림 | 2025-07-21 |
2702228 | 이 표현은 무엇인지... 몰라서요. (2) | 도란도란 | 2025-07-21 |
2702197 | dll 인젝션 사용법좀 알려주세요 | 새밝 | 2025-07-21 |
2702147 | dd 안에 div들어가도 되나요? (8) | 꿈 | 2025-07-20 |
2702086 | [질문]세션 박스 질문입니다. (1) | 하연 | 2025-07-20 |
2702057 | 씨언어 숙재좀 풀어주실분 ㅜ.ㅜ (3) | 난슬 | 2025-07-19 |
2702000 | select 사용시 label 문제 질문드립니다. | 김예쁨 | 2025-07-19 |
2701970 | 실행파일의 이름은 어디서 변경하는지요???? | 호빵녀 | 2025-07-19 |
2701856 | 다시 한번 대체텍스트 관련 질문입니다.. (1) | 한샘가온 | 2025-07-18 |
2701803 | 저에게 지식의 자비를~ 베푸소서~!! (4) | 봄바람 | 2025-07-17 |
2701773 | 메모장 파일을 읽고 출력하는 내용에 관한 질문입니다. | 한국드립 | 2025-07-17 |
2701748 | 아이피 변경 부분이요... | 날애 | 2025-07-17 |
2701665 | 자바스크립트 // 왜 if 두개를 쓰면 오류가 나죠? (2) | 글리슨 | 2025-07-16 |