CMFCCaptionButton::GetIconID

Returns the image ID associated with the button.

virtual CMenuImages::IMAGES_IDS GetIconID(
   BOOL bHorz,
   BOOL bMaximized = FALSE
) const;

Parameters

  • [in] bHorz
    TRUE for left or right arrow image IDs; FALSE for up or down arrow image IDs.

  • [in] bMaximized
    TRUE for a maximize image ID; FALSE for a minimize image ID.

Return Value

The image ID.

Remarks

The parameters specify image IDs for minimize or maximize caption buttons.

Requirements

Header: afxcaptionbutton.h

See Also

Reference

CMFCCaptionButton Class

Hierarchy Chart