LImageViewerCell::CheckTitlebarIcon

#include "ltwrappr.h"

L_INT LImageViewerCell::CheckTitlebarIcon(nSubCellIndex, nIconIndex, bCheck, uFlags)

Checks or unchecks the specific title bar icon of the specific cell or sub-cell.

Parameters

L_INT nSubCellIndex

A zero-based index into the image list attached to the cell. This function will check or uncheck the title bar icon of this sub-cell. Pass -1 to apply this effect on all sub-cells. Pass -2 to apply this effect on the selected sub-cell.

L_INT nIconIndex

A zero-based index of the icon that the user needs to check or uncheck. Pass -1 to check or uncheck all icons of the specific sub-cell.

L_BOOL bCheck

Flag that indicates whether to check or uncheck the specific title bar icon. Possible values are:

Value Meaning
TRUE Check the specific title bar icon.
FALSE Uncheck the specific title bar icon.

L_UINT uFlags

Reserved for future use. Pass 0.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

To retrieve the status of a specific title bar icon whether it is checked or unchecked, call the LImageViewerCell::IsTitlebarIconChecked function.

Required DLLs and Libraries

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Medical Image Viewer C++ Class Library Help