Share

AcApStatusBar::RemoveDefaultPane

C++

virtual SB_DEPRECATED BOOL RemoveDefaultPane(
    AcDefaultPane nPane, 
    BOOL bUpdate = TRUE
) = 0;

Description

This function removes one or more default panes from the status bar.

Once removed, a default pane is destroyed and cannot be recovered.

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

Returns true if the pane is successfully removed. If the pane cannot be removed or is not found, this function returns false.

Parameters

Parameters Description
nPane Input pane or panes to remove; bitwise union of one or more of the valid AcApStatusBar::AcDefaultPane enums
bUpdate Input Boolean: true to remove the pane immediately and update the appearance of the status bar; false if the pane is displayed in the status bar until the next call to AcApStatusBar::Update()

Links

AcApStatusBar

Was this information helpful?