Text Display
Julio Sanchez, Maria P. Canton · 2018
This chapter discusses the part of Windows programming that refers to text display and rendering operations. Computer systems, including the PC, have historically differentiated between text and graphics. The original notion was that programs could either execute in textual form, by displaying messages composed of alphabetical and numeric characters, or they could use pictures and images to convey information. The part of the window on which a program can draw is called the client area. The client area does not include the title bar, the sizing border, nor any of the optional elements such as the menu, toolbar, status bar, and scroll bars. The notion of a device context is that of a Windows data structure that stores information about a particular display device, such as the video display or a printer. All Windows functions that access the Graphics Device Interface require a handle to the device context as a parameter.