A title bar that contains up to eight developer-defined check boxes can be docked at the top of every sub-cell inside the image viewer, four on each side. The check box icons can be selected and deselected programmatically or manually.
Examples of behavior that might be assigned to these icons include:
Show/hide regions of interest
Show/hide tags, such as tags displaying specific patient information
By default, the title bar is not visible. When made visible, the default display uses the Windows Theme colors.
To determine whether the title bar is shown or not, use L_DispContainerIsTitlebarEnabled.
To show the title bar, call L_DispContainerShowTitlebar.
To retrieve title bar properties, use L_DispContainerGetTitlebarProperties.
Title Bar Icons
Up to eight icons can be displayed on the title bar, four on each side. Each may be individually displayed/hidden and designated writeable/read-only. By default, when the title bar is made visible, four writeable icons are made active at the right-hand side of the toolbar. When made visible, the default deselected color is black, the selected color is blue, and the hover color is a green outline.
To retrieve title bar icon properties, use L_DispContainerGetIconProperties.
To change the properties of a title bar icon, set the desired values in the structure DISPCONTAINERTITLEBARICONPROPS, and then pass them to the function L_DispContainerSetIconProperties.
To retrieve the current state of a specific title bar icon, use L_DispContainerIsTitlebarIconChecked.
To check/uncheck title bar icons programmatically, use L_DispContainerCheckTitlebarIcon.
Title Bar Demo
To see a sample of the title bar and icon display options and properties, from the Image Viewer Demo main menu, select Properties -->Container Properties, then click the Titlebar tab.
Working with the LEADTOOLS Medical Image Viewer Control
Customizeable Title Bar
For more information, refer to: