Experience in Windows GDI 1 --- DC

zhaozj2021-02-16  56

When you first started Windows programming, you will only drag the control in the VC IDE, compile the new, you can pop up a dialog, think you will be Windows. I think it is ridiculous now. After participating, contact and use development tools PB, VB, Delphi, VC, and slowly have a general understanding of Windows programming. Due to the need for work, the recent focus on GDI programming is a little bit of experience, and this brick is pushed.

GDI is a graphics device interface. Note that Windows's DC has a lot of kinds. Specifically, you can refer to the ATLGDI.H file in the WTL of Microsoft. It mainly divides DC into three: CPAINTDC, CClientDC, CWindowDC etc. In fact, these DCs are under different applications. From essentially, it is the same.

Understanding the DC is the key to enter the GDI area, and GDI is part of the core of Window, which is the foundation of the Window window. WTL can download from the Microsoft website, it is free.

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

New Post(0)