Draw a bitmap problem

zhaozj2021-02-08  330

> I use the GDI function to draw a big picture, use the CScrolView display, want to speed up the speed avoidance, use> a cbitmap pointer storage, always error, please enlighten. Try with a compatible device context. 1) Creating a CSCROLVIEW device context-compatible device context 2) Creating a ScrolSize size compatible bitmap Figure 3) Selection of a compatible bitmap in compatible device context 4) Use GDI functions in compatible device context Draw 5) Map the bitmap of the compatible device context to the device context of the CScrolView when you need to redraw.

转载请注明原文地址:https://www.9cbs.com/read-1473.html

New Post(0)