次の方法で共有


2.1.4 BackgroundMode Enumeration

The BackgroundMode enumeration is used to specify the background mode to be used with text, hatched brushes, and pen styles that are not solid. The background mode determines how to combine the background with foreground text, hatched brushes, and pen styles that are not solid lines.

 typedef  enum 
 {
   TRANSPARENT = 0x0001,
   OPAQUE = 0x0002
 } BackgroundMode;

TRANSPARENT: Background remains untouched.

OPAQUE: Background is filled with the current background color before the text, hatched brush, or pen is drawn.