본문 바로가기

Code Habit

검색하기
Code Habit
프로필사진 코드베어

  • 분류 전체보기 (203)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • Close
  • Python
  • Sync
  • channel
  • Golang
  • bitcoin
  • http
  • install
  • json
  • Linux
  • c++
  • API
  • go
  • write
  • 영화
  • JavaScript
  • Callback
  • 리뷰
  • range
  • GO 언어
  • File
  • windows
  • mutex
  • 책
  • tcp
  • go언어
  • window
  • C
  • package
  • FOR
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록stretchdibits (1)

Code Habit

API ) StretchDIBits 이미지 출력하기

StretchDIBits 함수를 사용하여 이미지 파일을 화면상(윈도우)에 출력할 수 있다. VOID CTestCtrl::OnPaint( HDC /*hDC*/ ) { CPaintDC dc( m_hWnd );// 함수 종료시 지가 알아서 release 함 CDC mDC; CBitmap mBitmap; CBitmap mBitmap_old; CRect rect; GetClientRect(&rect); mDC.CreateCompatibleDC(dc); mBitmap.CreateCompatibleBitmap(dc, rect.right, rect.bottom); mBitmap_old = mDC.SelectBitmap(mBitmap); int width = rect.Width(); int height = rect.He..

카테고리 없음 2020. 5. 12. 10:06
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바