다음을 통해 공유


CMFCPropertySheet::SetIconsList

Specifies the list of images that are used in the navigation control of the Outlook pane.

BOOL SetIconsList(
   UINT uiImageListResID,
   int cx,
   COLORREF clrTransparent=RGB(255,0,255) 
);
void SetIconsList(
   HIMAGELIST hIcons 
);

Parameters

  • [in] uiImageListResID
    The resource ID of an image list.

  • [in] cx
    The width, in pixels, of icons in the image list.

  • [in] clrTransparent
    The transparent image color. The parts of the image that are this color will be transparent. The default value is the color magenta, RGB(255,0,255).

  • [in] hIcons
    A handle to an existing image list.

Return Value

In the first method overload syntax, TRUE if this method is successful; otherwise, FALSE.

Remarks

If the property sheet is in the style of Microsoft Outlook, the framework displays a list of navigation buttons, called the Outlook pane control, at the left of the property sheet. Use this method to set the image list to be used by the Outlook pane control.

For more information about the methods that support this method, see CImageList::Create and CImageList::Add. For more information about how to set the style of a property sheet, see CMFCPropertySheet::SetLook.

Requirements

Header: afxpropertysheet.h

See Also

Reference

CMFCPropertySheet Class

Hierarchy Chart

COLORREF

CImageList::Create

CImageList::Add

CMFCPropertySheet::SetLook