Help Center

AfxScreenColorsfunction

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

WindowsfunctionAfxWin.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

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

Description

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

Reference

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