Share

AcApStatusBar::GetIndex

C++

virtual int GetIndex(
    int nID, 
    BOOL bTrayItem = FALSE
) const = 0;

Description

This function returns the zero-based index of the specified pane or tray item, or -1 if the pane or tray item is not found.

Note

The status bar may contain hidden panes, so the index and pane count may not match that of the visible panes.

Parameters

Parameters Description
nID Input object ID of the pane or tray item
bTrayItem Input Boolean: true if the object for which to get the index is a tray item; false if it is a pane

Links

AcApStatusBar

Was this information helpful?