C++
virtual BOOL Insert( int nIndex, AcPane* pPane, BOOL bUpdate = TRUE ) = 0;
Description
This function inserts a new pane into the status bar at the specified index position.
Note
The status bar may contain hidden panes, so the index and pane count may not match that of the visible panes.
To prevent screen flicker when inserting multiple panes, set bUpdate to false. When you are finished inserting panes, call AcApStatusBar::Update() to update the display.
Returns true if the pane is successfully inserted; otherwise, returns false.
Parameters
Parameters | Description |
---|---|
nIndex | Input zero-based index indicating position at which to insert the pane |
pPane | Input pointer to the pane object to insert |
bUpdate | Input Boolean: true to make the status bar display this pane immediately; false if the pane should not be displayed until the next call to AcApStatusBar::Update() |