BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Fully implemented BCGSuite (MFC)
Not available BCGControlBar (Microsoft .NET)

Radial Menu

Radial popup menu is a menu with radial shape where items are located around the center. Usually, the radial menu is intended for selected object handling. For the better look and usability, the recommended number of menu items is 8. Optionally, you can add an item to the center.
Sample code:
CBCGPRadialMenu* pMenuCtrl = new CBCGPRadialMenu;

CBCGPRadialMenuObject* pMenu = pMenuCtrl->GetRadialMenuObject();
ASSERT_VALID(pMenu);

pMenu->SetImageList(IDR_RADIAL_MENU);

pMenu->AddCommand(ID_OBJECT_MOVETOFRONT, 0 /* Image index */);
pMenu->AddCommand(ID_OBJECT_MOVETOBACK, 1 /* Image index */);

pMenu->AddCommand(ID_EDIT_PASTE, 2 /* Image index */);
pMenu->AddCommand(ID_EDIT_CUT, 3 /* Image index */);
pMenu->AddCommand(ID_EDIT_COPY, 4 /* Image index */);

pMenu->AddCommand(ID_OBJECT_FILLCOLOR, 5 /* Image index */);
pMenu->AddCommand(ID_OBJECT_LINECOLOR, 6 /* Image index */);

pMenu->AddCommand(ID_EDIT_CLEAR, 7 /* Image index */);

pMenuCtrl->CreatePopup(point);
Prev  Next