Share via


CMFCTabCtrl::GetDocumentIcon

Retrieves the image that is associated with a tab in a pop-up menu of tabbed windows.

static HICON __stdcall GetDocumentIcon(
   UINT nCmdID
);

Parameters

  • [in] nCmdID
    The command ID of a tab in a pop-up menu of tabbed windows.

Return Value

The handle of a bitmap image.

Requirements

Header: afxtabctrl.h

See Also

Reference

CMFCTabCtrl Class

Hierarchy Chart

CMFCTabCtrl::EnableTabDocumentsMenu