Available in LEADTOOLS Medical Imaging toolkits. |
L_DispContainerIsTitlebarIconChecked
#include "ltivw.h"
L_LTIVW_API L_BOOL L_DispContainerIsTitlebarIconChecked(hCellWnd, nSubCellIndex, nIconIndex, uFlags)
HWND hCellWnd; |
/* handle to the cell window */ |
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 |
hCellWnd |
A handle to the window that represents the cell on which the function's effect will be applied. |
nSubCellIndex |
A zero-based index into the image list attached to the cell specified in nCellIndex. 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 L_DispContainerCheckTitlebarIcon 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
Example
For an example, refer to L_DispContainerShowTitlebar.