AfxGetGrayBitmap
회색 버전 비트맵을 복사합니다.
void AFXAPI AfxGetGrayBitmap(
const CBitmap &rSrc,
CBitmap *pDest,
COLORREF crBackground
);
매개 변수
rSrc
소스 비트맵입니다.pDest
대상 비트맵입니다.crBackground
새 배경색 (COLOR_MENU와 같은 일반적으로 회색).
설명
비트맵에 복사 AfxGetGrayBitmap 비활성화 된 컨트롤의 모양을 갖게 됩니다.
예제
CBitmap bm;
bm.LoadBitmap(IDB_BITMAP1);
CBitmap bmGray;
AfxGetGrayBitmap(bm, &bmGray, GetSysColor(COLOR_MENU));
요구 사항
헤더: afxwin.h