L_DispContainerCheckTitlebarIcon

Summary

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

Syntax

#include "ltivw.h"

L_LTIVW_API L_INT L_DispContainerCheckTitlebarIcon(hCellWnd, nSubCellIndex, nIconIndex, bCheck, uFlags)

Parameters

L_HWND hCellWnd

A handle to the window that represents the cell on which the function's effect will be applied.

L_INT nSubCellIndex

A zero-based index into the image list attached to the cell specified in nCellIndex. 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 L_DispContainerIsTitlebarIconChecked function.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_DispContainerShowTitlebar.

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

LEADTOOLS Medical Image Viewer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.