Help Center

AfxGetDisplayBitsPerPixelfunction

Returns the color resolution, in bits per pixel, of the display device.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetDisplayBitsPerPixel () AS DWORD
Also documented as AfxGetScreenColors, AfxScreenColors — one description covers them all.

Description

Returns the color resolution, in bits per pixel, of the display device.

Reference

  • Include file AfxWin.inc
  • Defined in AfxNova/AfxWin.inc:2931
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures