C++
virtual SB_DEPRECATED BOOL SetStatusBarMenuItem( AcPane* pPane ) = 0;
Description
This function replaces the default AutoCAD status bar context menu pane object with the specified pane object.
When a user left-clicks the AutoCAD status bar menu icon, this function calls the OnLButtonDown() method of the pane specified by pPane. When a user right-clicks on the AutoCAD status bar menu icon, the pPane object's OnRButtonDown() method will be called. When a user right-clicks on an empty area of the status bar, it calls the OnRButtonDown() method of the pane specified by pPane.
Left-clicking on an empty area of the status bar will not call the object's OnLButtonDown() method.
After the AutoCAD status bar context menu has been replaced, it cannot be recovered.
To replace the drawing status bar context menu, call this function on the drawing status bar for each drawing that is opened.
Returns true if the default status bar context menu was replaced; otherwise, returns false.
Parameters
Parameters | Description |
---|---|
pPane | Input pointer to replacement pane object |