Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- windows
- 책
- install
- Callback
- File
- Golang
- package
- mutex
- window
- channel
- Linux
- json
- tcp
- c++
- bitcoin
- go언어
- range
- http
- 영화
- 리뷰
- FOR
- go
- write
- Sync
- GO 언어
- C
- API
- Python
- JavaScript
Archives
- Today
- Total
목록bitmapinfo (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