Поделиться через


CImage::IsTransparencySupported

Indicates whether the application supports transparent bitmaps and was compiled for Windows 2000 or later.

static BOOL IsTransparencySupported( ) throw( );

Возвращаемое значение

Nonzero if the current platform supports transparency. Otherwise 0.

Заметки

If the return value is nonzero, and transparency is supported, a call to AlphaBlend, TransparentBlt, or Draw will handle transparent colors.

If the application is compiled for use with operating systems before Windows 2000 or Windows 98, this method will always return 0, even on newer operating systems.

See CImage Limitations with Earlier Operating Systems for more detailed information.

Требования

Header: atlimage.h

См. также

Основные понятия

CImage Class

CImage Members

CImage::GetTransparentColor