|
virtual |
Called by the framework when it needs to build a menu with the list of control bars.
Starting the version 8.5 the framework can automatically build and handle popup menus with the list of application's control bars. The menu commands show or hide related control bars. In the previous versions developers had to implement this kind of menus manually.
OnControlBarContextMenu calls the docking manager which maintains the list of control bars, which belong to the current frame window, then it adds the names of control bars to a context popup menu and displays it.
You can override this method if you need to customize this behavior.
pParentFrame | Points to the parent frame. |
point | Specifies the location of context menu. |