BCGControlBar Pro for MFC
SIZE CBCGPToolBarImages::GetImageSize ( BOOL  bDest = FALSE,
const CWnd *  pWnd = NULL 
) const

Retrieves a size either of source or destination image.

Returns
A SIZE structure, which specifies a size of image.

The source image size is the fixed size of original images contained in the CBCGPToolBarImages object. You can specify the size either in SetImageSize() or leave the default value (16x15 pixels).

The destination image size is 0x0 by default. You specify the destination size in PrepareDrawImage(). The EndDrawImage() function returns the destination size back to the default.

Set bDest to nonzero to retrieve the destination size or to 0 to retrieve the source image size.

Parameters
bDestSpecifies what size to retrieve.
pWndA pointer to window where image will be drawn. Required for DPI-aware applications.