베이스 클래스를 변경하려면

Category:
Author: zemna
Date: April 17, 2021
Share this:

베이스 클래스를 변경하려면

헤더 파일에서 'class CMyView : public CView'를 'class CMyView : public

CScrollView'로 바꾸면 간단히 해결할 수 있습니다. 단 스크롤 뷰는 시작시 맵핑 모드와

크기를 설정하므로 OnInitialUpdate()에서 SetScrollSizes()를 호출해야 합니다. 이렇게

변경한 사항을 저장한 후 프로젝트를 읽으면 베이스 클래스로 CScrollView()를 인식합니다.

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *

Let's connect and create
something awesome together!
2023 - Copyright, All Rights Reserved, Made by ZEMNA.NET with ❤️
crossmenu linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram