Partilhar via


CMFCToolBarImages::MirrorBitmap

Replaces a bitmap with its horizontal mirror image.

static BOOL MirrorBitmap(
   HBITMAP& hbmp,
   int cxImage 
);

Parameters

  • [in, out] hbmp
    A handle to bitmap to mirror.

  • [in] cxImage
    Width of the image in pixels.

Return Value

TRUE if the image was successfully mirrored; otherwise FALSE.

Remarks

This function is used to support right-to-left writing systems.

Requirements

Header: afxtoolbarimages.h

See Also

Reference

CMFCToolBarImages Class

Hierarchy Chart