Share

AcApStatusBar::Remove

C++

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

Description

This function removes a pane from the status bar.

If this function is used to remove a default AutoCAD pane, the default pane is removed permanently 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. The AcPane::OnDelete() callback method will not be called until the display is updated and the pane is actually removed from the status bar.

Note

If this function is called with bUpdate set to false, the pane will remain in the status bar pane array count until the next call to AcStatusBar::Update().

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
pPane Input pointer to the pane to remove
bUpdate Input Boolean: true to remove the pane immediately and update the appearance of the status bar; false if the pane should be displayed in the status bar until the next call to AcApStatusBar::Update()

Links

AcApStatusBar

Was this information helpful?