Share

AcApStatusBar::Add

C++

virtual int Add(
    AcPane* pPane, 
    BOOL bUpdate = TRUE
) = 0;

Description

This function adds a new pane at the end of the status bar but before the status bar icon tray area.

On success, this function returns the index position of the newly added pane; on failure, it returns -1.

To prevent screen flicker when adding multiple panes, set bUpdate to false. When you are finished adding panes, call AcApStatusBar::Update() to update the display.

Parameters

Parameters Description
pPane Input pointer to the pane object to add
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 Update()

Links

AcApStatusBar

Was this information helpful?