수다닷컴

  • 해외여행
    • 괌
    • 태국
    • 유럽
    • 일본
    • 필리핀
    • 미국
    • 중국
    • 기타여행
    • 싱가폴
  • 건강
    • 다이어트
    • 당뇨
    • 헬스
    • 건강음식
    • 건강기타
  • 컴퓨터
    • 프로그램 개발일반
    • C언어
    • 비주얼베이직
  • 결혼생활
    • 출산/육아
    • 결혼준비
    • 엄마이야기방
  • 일상생활
    • 면접
    • 취업
    • 진로선택
  • 교육
    • 교육일반
    • 아이교육
    • 토익
    • 해외연수
    • 영어
  • 취미생활
    • 음악
    • 자전거
    • 수영
    • 바이크
    • 축구
  • 기타
    • 강아지
    • 제주도여행
    • 국내여행
    • 기타일상
    • 애플
    • 휴대폰관련
  • 프로그램 개발일반
  • C언어
  • 비주얼베이직

[질문] 다이얼로그 기반 CFrameWnd 이용한 화면분할...

모은

2024.03.01

현재 진행되는 프로젝트에서 진도가 안나가서 막힌 상태네요..
제목에서 처럼 다이얼로그 기반에서 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() 대한 수정도 있고해서 실행을 해봤으나..
여전히 변화가 없는 상태입니다.

제가 의도하는 것은 저 경계선이 없으며 위아래가 자연스래 이어져 가길 원합니다..

사이트 회원분께.. 참고나 지적 부탁드립니다.

신청하기





COMMENT

댓글을 입력해주세요. 비속어와 욕설은 삼가해주세요.

번호 제 목 글쓴이 날짜
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
<<  이전  1 2 3 4 5 6 7 8 9 10  다음  >>

수다닷컴 | 여러분과 함께하는 수다토크 커뮤니티 수다닷컴에 오신것을 환영합니다.
사업자등록번호 : 117-07-92748 상호 : 진달래여행사 대표자 : 명현재 서울시 강서구 방화동 890번지 푸르지오 107동 306호
copyright 2011 게시글 삭제 및 기타 문의 : clairacademy@naver.com