LImageViewerCell::IsTitlebarIconChecked

#include "ltwrappr.h"

L_BOOL LImageViewerCell::IsTitlebarIconChecked(nSubCellIndex, nIconIndex, uFlags)

L_INT nSubCellIndex;

/* index into the image list attached to the cell */

L_INT nIconIndex;

/* index of the title bar icon */

L_UINT uFlags;

/* reserved for future use */

Determines whether the specific title bar icon of the specific cell or sub-cell is checked or unchecked.

Parameter

Description

nSubCellIndex

A zero-based index into the image list attached to the cell. The status of the icon attached to the sub-cell at this index will be retrieved. Pass -2 to retrieve the status of the icon attached to the active sub-cell.

nIconIndex

A zero-based index of the icon to retrieve its status.

uFlags

Reserved for future use. Pass 0.

Returns

TRUE

The specified icon is checked.

FALSE

The specified icon is not checked, or an error occurred. Refer to Return Codes.

Comments

To check or uncheck a specific title bar icon, call the LImageViewerCell::CheckTitlebarIcon function.

Required DLLs and Libraries

LTIVW

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LImageViewer::Create, LImageViewer::Destroy, LImageViewerCell::GetTitlebarProperties, LImageViewerCell::IsTitlebarEnabled, LImageViewerCell::SetIconProperties, LImageViewerCell::GetIconProperties, LImageViewerCell::SetTitlebarProperties, LImageViewerCell::ShowTitlebar, LImageViewerCell::CheckTitlebarIcon

Topics:

Image Viewer Functions: The Title Bar Feature

 

The Title Bar Feature

Example

For an example, refer to LImageViewerCell::ShowTitlebar.