BCGSuite for MFC
static void CBCGPMenuImages::Draw ( CDC *  pDC,
CBCGPMenuImages::IMAGES_IDS  id,
const CRect &  rectImage,
CBCGPMenuImages::IMAGE_STATE  state = CBCGPMenuImages::ImageBlack,
const CSize &  sizeImage = CSize(0, 0) 
)
static

Renders an image

Call this function to render one of the images specified by IMAGES_IDS enumerator. The BCGControlBar framework uses these images to display various GUI elements like arrows, check symbols, close buttons and so on.

Parameters
pDCA pointer to a device context
idSpecifies the id of image to be rendered.
rectImageBounding rectangle.
stateSpecifies the image state.
sizeImageSpecifies the image size.