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
- Golang
- http
- install
- json
- windows
- FOR
- range
- Close
- 책
- GO 언어
- channel
- bitcoin
- package
- go언어
- File
- 영화
- JavaScript
- window
- c++
- 리뷰
- go
- Sync
- tcp
- Linux
- Python
- C
- Callback
- mutex
- write
- API
Archives
- Today
- Total
목록istretchmode (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