You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
device context
About this tag
The device context tag on WindowsForum.com covers topics related to the Windows GDI device context handle (HDC) used for drawing operations. Content includes code examples for drawing borders, background colors, and handling window procedures in C/C++ with the Windows API. Discussions involve obtaining and managing device contexts for custom controls, such as static controls and rich edit controls, as well as integrating OpenGL. The tag is relevant for developers working with low-level Windows graphics programming, including subclassing window procedures and managing device context handles for rendering.
background
border drawing
c++
control handling
devicecontext
error handling
event
gdi
graphics
message loop
opengl
paint handling
rich edit
static control
user interface
window procedure
window resizing
windows api
wm_paint