95 |
The control shows no icons. What can be the problem (32-bit, alpha channel vs 4-bit icons problem)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutImageSize(32); spRadialMenu1->Images(_bstr_t("gBJJgBggAAQAAgAEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbmiAQD/jL/r1fYFlsFctFptVrtltt0qsdgrz/srAs8NsNxut3t99v1/wGBwQAuNhwlks17veGjFiueLweRyWTymVm+FxsTw90xOdu2Ks2Mht60OW02n1Gp" + "rWYiUTh+b0Gfz2c2W1u+30l21W73m93021mu4UO2Gz2O05HHyF4xu5vm/6HR6WB4PD61yxG25XG7na0vMhvL6fj8nlqXV6/p4ve9nX7ft5eO7PP831+33rtzsPp/mvx7" + "uuS77bus97kLy/T8QTBUFpM9D+we7D3QA47RQC9rRQZDMNQTCEOs0/UQK/AkJxJC7Gw3FEUvLD0HsKh7Fv8r7NxG+EStvFUcRy3sWOs50YIdH8DRDCUattDEdSRJLIx4" + "h64rizUXtDKLdSmsEYwjGkLRvJUuS6v0WRch0nyq1sgzNKUgNDIcsyPL03TerMWv1KsxuJMk7zTKk8ytPbWs3GbXxPOFB0Iqjrx9ND5NdM89QNPFHT7QK8QQ8FC0tS6k" + "tdJy5yhPc6uvMtE0ZPlIQNQVMVRVNM0/T8g1a2c2UfUc/VPVVbVuobcU4186V24VQts61gVJWda1xY9kKDB6903EVeU8udPonWdJPpZNr2wm1F1g4bW2bRVh2/YUyWNb" + "NzXOl1QSqvdY0jd0ttbX9y3Rel6pNAdn1M8F1Xe+KVXhe2A4FdMK4IzLhyDNuB4XhilXxeVK4biWJqXgGKYvjGM41jeOY7jycIqHyVZEjqPpCjKSJIkyDpxSWP5fmCZI" + "C"); spRadialMenu1->Images(_bstr_t("gBJJgBggAAQAAgAEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbmiAkEar0gYFjrlls1ntFptVrllhjFeAFjYFtuFytl3vF5vV7vkmt1+sVku12lduwl9xGJxWLxk3v8Zh9vwNzweCy1zwt1smNzmdz2frePjGRyIAzWUy9x" + "1OVzEqw2b0Gx2Wz2k10USf+43Wmyeq1G/33B1nBzO92vH5HJxO30kO3Wl0/C1fT4HDw8p6/K7Xb7lS5nO5u58OS6XV1Pj63U4kf6Pd93v+E57/i8H1+n38np82tlPo9T" + "stu+MBQHAjJK+yD7OfBLxt5BTcv08qWQg7MCwrC0KvHDMFwTBsOrg/z9wjCbYQvEsTPfDT8RS3ivucwjnQ8kEQRE/8SRPG8cNrFcVte4CJOJFzNrhBsZxG/kcyRJLOR3" + "BK3Lc0sgsxKLRwezcYSHD8EwhJUuS6xEmNyv7nSfKcfxfKspTRKjiSxGUtRtL04zks8eSHKcyNzM0rTVPU0yBPkrq/LM8znQtDKy8cez/FjdTPRdHUhPdFsBQ9K0sqTI" + "ydQc1rtPEHU5SVIz9UVL1LUyo09T1HVU8831HUNYT9U9Z1op9PT7RkGSmu1dUBXz11rYNhKRFdOrhW872PTbI1JH9h2faCg2ZVr8R/TSQTFNVr0/XFo29b6cV7CMZ27M" + "sYJVBlwXVdabShPl0Q5c133Zel6qxclz3tfV9qvdN+X/gGA4FgeCYLg2D4RhLFoqHyVYajqPpCjKSJIkyD3C+1CJYiaX44lx/nhfKVn+cAf41kZgAfk90EAAeVv60aXn" + "8jAfpefiMA+l58IwA6XngjAHpecGcaFoiXaGAGc6PoyW6RpWm6YlmnaLpOqD/q2fIxq6XZuAGtpbruvpZsOZIRl6TH+RgD7OjSHbXjp/mftkEZFeG6pSgIA=="); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"Icon 32-bit<br><c><img>1</img>",vtMissing,vtMissing); var_Items->Add(L"Icon 4-bit<br><c><img>2</img>",vtMissing,vtMissing); spRadialMenu1->EndUpdate(); |
94 |
ImageSize property on 32 (specifies the size of control' icons/images)
|
93 |
ImageSize property on 16 (specifies the size of control' icons/images)
|
92 |
How can I displays items rotated (exDisplayRadialRotated90)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutHTMLPicture(L"arrow","arrow.png"); spRadialMenu1->PutSubItemsBackColor(RGB(190,190,190)); spRadialMenu1->PutShadowColor(spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialParentBorder,spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialItemsGridLines,-1); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"Foreground","color_line.png",vtMissing)->GetItems()->PutToString(L"Foreground"); var_Items->Add(L"Background","color_fill.png",vtMissing)->GetItems()->PutToString(L"Background"); var_Items->Add(L"Font","format_font_size_less.png",vtMissing)->GetItems()->PutToString(L"Font"); var_Items->Add(L"Undo","edit_undo.png",vtMissing)->GetItems()->PutToString(L"Undo"); var_Items->Add(L"Redo","edit_redo.png",vtMissing)->GetItems()->PutToString(L"Redo"); var_Items->Add(L"Copy","edit_copy.png",vtMissing)->GetItems()->PutToString(L"Copy"); var_Items->Add(L"List","fileview_text.png",vtMissing)->GetItems()->PutToString(L"List"); var_Items->Add(L"Tag","checkmark_korganizer.png",vtMissing)->GetItems()->PutToString(L"Tag"); spRadialMenu1->PutDisplayRadial(EXRADIALMENULib::exRadialItems,EXRADIALMENULib::exDisplayRadialRotated90); spRadialMenu1->EndUpdate(); |
91 |
How can I displays items rotated (exDisplayRadialRotated270)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutHTMLPicture(L"arrow","arrow.png"); spRadialMenu1->PutSubItemsBackColor(RGB(190,190,190)); spRadialMenu1->PutShadowColor(spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialParentBorder,spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialItemsGridLines,-1); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"Foreground","color_line.png",vtMissing)->GetItems()->PutToString(L"Foreground"); var_Items->Add(L"Background","color_fill.png",vtMissing)->GetItems()->PutToString(L"Background"); var_Items->Add(L"Font","format_font_size_less.png",vtMissing)->GetItems()->PutToString(L"Font"); var_Items->Add(L"Undo","edit_undo.png",vtMissing)->GetItems()->PutToString(L"Undo"); var_Items->Add(L"Redo","edit_redo.png",vtMissing)->GetItems()->PutToString(L"Redo"); var_Items->Add(L"Copy","edit_copy.png",vtMissing)->GetItems()->PutToString(L"Copy"); var_Items->Add(L"List","fileview_text.png",vtMissing)->GetItems()->PutToString(L"List"); var_Items->Add(L"Tag","checkmark_korganizer.png",vtMissing)->GetItems()->PutToString(L"Tag"); spRadialMenu1->PutDisplayRadial(EXRADIALMENULib::exRadialItems,EXRADIALMENULib::exDisplayRadialRotated270); spRadialMenu1->EndUpdate(); |
90 |
How can I displays items rotated (exDisplayRadialRotated180)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutHTMLPicture(L"arrow","arrow.png"); spRadialMenu1->PutSubItemsBackColor(RGB(190,190,190)); spRadialMenu1->PutShadowColor(spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialParentBorder,spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialItemsGridLines,-1); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"Foreground","color_line.png",vtMissing)->GetItems()->PutToString(L"Foreground"); var_Items->Add(L"Background","color_fill.png",vtMissing)->GetItems()->PutToString(L"Background"); var_Items->Add(L"Font","format_font_size_less.png",vtMissing)->GetItems()->PutToString(L"Font"); var_Items->Add(L"Undo","edit_undo.png",vtMissing)->GetItems()->PutToString(L"Undo"); var_Items->Add(L"Redo","edit_redo.png",vtMissing)->GetItems()->PutToString(L"Redo"); var_Items->Add(L"Copy","edit_copy.png",vtMissing)->GetItems()->PutToString(L"Copy"); var_Items->Add(L"List","fileview_text.png",vtMissing)->GetItems()->PutToString(L"List"); var_Items->Add(L"Tag","checkmark_korganizer.png",vtMissing)->GetItems()->PutToString(L"Tag"); spRadialMenu1->PutDisplayRadial(EXRADIALMENULib::exRadialItems,EXRADIALMENULib::exDisplayRadialRotated180); spRadialMenu1->EndUpdate(); |
89 |
How can I displays items rotated (exDisplayRadialRotated)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutHTMLPicture(L"arrow","arrow.png"); spRadialMenu1->PutSubItemsBackColor(RGB(190,190,190)); spRadialMenu1->PutShadowColor(spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialParentBorder,spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialItemsGridLines,-1); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"Foreground","color_line.png",vtMissing)->GetItems()->PutToString(L"Foreground"); var_Items->Add(L"Background","color_fill.png",vtMissing)->GetItems()->PutToString(L"Background"); var_Items->Add(L"Font","format_font_size_less.png",vtMissing)->GetItems()->PutToString(L"Font"); var_Items->Add(L"Undo","edit_undo.png",vtMissing)->GetItems()->PutToString(L"Undo"); var_Items->Add(L"Redo","edit_redo.png",vtMissing)->GetItems()->PutToString(L"Redo"); var_Items->Add(L"Copy","edit_copy.png",vtMissing)->GetItems()->PutToString(L"Copy"); var_Items->Add(L"List","fileview_text.png",vtMissing)->GetItems()->PutToString(L"List"); var_Items->Add(L"Tag","checkmark_korganizer.png",vtMissing)->GetItems()->PutToString(L"Tag"); spRadialMenu1->PutDisplayRadial(EXRADIALMENULib::exRadialItems,EXRADIALMENULib::exDisplayRadialRotated); spRadialMenu1->EndUpdate(); |
88 |
How do I load images to sub-items zone
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutSubItemsSize(L"48*dpi"); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotItem,RGB(128,128,128)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotSubItem,RGB(128,128,128)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotFullItem,-1); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); EXRADIALMENULib::IItemPtr var_Item = var_Items->Add(L"",vtMissing,vtMissing); var_Item->PutImage(EXRADIALMENULib::exRadialItems,"favorites.png"); var_Item->PutImage(EXRADIALMENULib::exRadialSubItems,"download.png"); |
87 |
How can I display the control directly on the screen
|
86 |
How do I add a radial-slider control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutInflateCustom(spRadialMenu1->GetInflateItems()); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialCustomBorder,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialCustomBorder,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialCustomBorder,3); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); EXRADIALMENULib::IItemPtr var_Item = var_Items->Add(L"Slider",vtMissing,vtMissing); var_Item->PutBrowseType(EXRADIALMENULib::exBrowseItemCustom); var_Item->PutBrowseCustomType(EXRADIALMENULib::exRadialCustomSlider); var_Item->PutBrowseCustom(EXRADIALMENULib::exRadialCustomSliderValue,long(35)); spRadialMenu1->PutBrowseItem(((EXRADIALMENULib::IItemPtr)(spRadialMenu1->GetItems()->GetItem("Slider")))); |
85 |
How can I display a slider directly on the radial menu, with no items...
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutInflateCustom(L"-4 * dpi"); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialCustomBorder,RGB(0,0,0)); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialCustomBorder,3); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialCustomBorder,128); spRadialMenu1->PutCustomPicture("Background\\frame.png"); EXRADIALMENULib::IItemPtr var_Item = spRadialMenu1->GetRoot(); var_Item->PutBrowseType(EXRADIALMENULib::exBrowseItemCustom); var_Item->PutBrowseCustomType(EXRADIALMENULib::exRadialCustomSlider); var_Item->PutBrowseCustom(EXRADIALMENULib::exRadialCustomSliderValue,long(25)); spRadialMenu1->Refresh(); spRadialMenu1->EndUpdate(); |
84 |
How can I programatically browses for a new item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutInflateCustom(spRadialMenu1->GetInflateItems()); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialCustomBorder,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialCustomBorder,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialCustomBorder,3); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); EXRADIALMENULib::IItemPtr var_Item = var_Items->Add(L"Slider",vtMissing,vtMissing); var_Item->PutBrowseType(EXRADIALMENULib::exBrowseItemCustom); var_Item->PutBrowseCustomType(EXRADIALMENULib::exRadialCustomSlider); spRadialMenu1->PutBrowseItem(((EXRADIALMENULib::IItemPtr)(spRadialMenu1->GetItems()->GetItem("Slider")))); |
83 |
How can I display the items rotated
|
82 |
Is it possible to display the arrow into the items section, and how I can change the default position
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutHTMLPicture(L"arrow","arrowu.png"); spRadialMenu1->PutDisplayArrow(EXRADIALMENULib::exRadialItems); spRadialMenu1->PutDisplayCenterArrow(EXRADIALMENULib::exRadialItems,0); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->GetItems()->PutToString(L"Item 1(1,2),Item 2(1,2),Item 3(1,2),Item 4(1,2),Item 5(1,2),Item 6(1,2),Item 7(1,2),Item 8(1,2)"); spRadialMenu1->EndUpdate(); |
81 |
Can I display the arrow into the items section
|
80 |
How can I know if the cursor is hovering the center ring ( parent zone )
|
79 |
How can I specify the size to display the images/pictures into the items
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutAllowToggleExpand(VARIANT_FALSE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutItemsImageHeight(EXRADIALMENULib::exRadialItems,L"64*dpi"); spRadialMenu1->PutItemsImageWidth(EXRADIALMENULib::exRadialItems,L"64*dpi"); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"","color_line.png",vtMissing); var_Items->Add(L"","color_fill.png",vtMissing); var_Items->Add(L"","format_font_size_less.png",vtMissing); var_Items->Add(L"","edit_undo.png",vtMissing); var_Items->Add(L"","edit_redo.png",vtMissing); var_Items->Add(L"","edit_copy.png",vtMissing); var_Items->Add(L"","fileview_text.png",vtMissing); var_Items->Add(L"","checkmark_korganizer.png",vtMissing); spRadialMenu1->EndUpdate(); |
78 |
By default, the parent image is 32-pixels wide. Can I display it larger
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutAllowToggleExpand(VARIANT_FALSE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutHTMLPicture(L"logo","settings.png"); spRadialMenu1->PutParentSize(L"96 * dpi"); spRadialMenu1->PutParentImageWidth(EXRADIALMENULib::exRadialMenuStateAll,L"64*dpi"); spRadialMenu1->PutParentImageHeight(EXRADIALMENULib::exRadialMenuStateAll,L"64*dpi"); spRadialMenu1->PutParentCaption(EXRADIALMENULib::exRadialMenuStateAll,L"<font ;14><c>System Settings</font><br><c>Surround"); spRadialMenu1->EndUpdate(); |
77 |
Is it possible to specify where to display the item's caption
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->GetItems()->PutToString(L"Item 1(1,2),Item 2(1,2),Item 3(1,2),Item 4(1,2),Item 5(1,2),Item 6(1,2),Item 7(1,2),Item 8(1,2)"); spRadialMenu1->GetItems()->GetItem(long(0))->PutBackColor(EXRADIALMENULib::exRadialFullItems,RGB(240,240,240)); spRadialMenu1->PutDisplayCenter(EXRADIALMENULib::exRadialItems,0.85); spRadialMenu1->EndUpdate(); |
76 |
How can I disable browsing the items, or prevent displaying its children
|
75 |
How do I get the item from the point
// MouseMove event - Occurs when the user moves the mouse. void OnMouseMoveRadialMenu1(short Button,short Shift,long X,long Y) { /* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); OutputDebugStringW( L"Full-Item: " ); OutputDebugStringW( _bstr_t(spRadialMenu1->GetItemFromPoint(EXRADIALMENULib::exRadialFullItems,-1,-1)spRadialMenu1->GetCaption(EXRADIALMENULib::exLayerCaptionBackColor)) ); OutputDebugStringW( L"Item: " ); OutputDebugStringW( _bstr_t(spRadialMenu1->GetItemFromPoint(EXRADIALMENULib::exRadialItems,-1,-1)spRadialMenu1->GetCaption(EXRADIALMENULib::exLayerCaptionBackColor)) ); OutputDebugStringW( L"SubItem: " ); OutputDebugStringW( _bstr_t(spRadialMenu1->GetItemFromPoint(EXRADIALMENULib::exRadialSubItems,-1,-1)spRadialMenu1->GetCaption(EXRADIALMENULib::exLayerCaptionForeColor)) ); } EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->GetItems()->PutToString(_bstr_t("Item 1[scap=sub item 1],Item 2[scap=sub item 2],Item 3[scap=sub item 3],Item 4[scap=sub item 4],Item 5[scap=sub item 5],Item 6[") + "scap=sub item 6],Item 7[scap=sub item 7],Item 8[scap=sub item 8]"); |
74 |
How do I get the index of the pie from the point
// MouseMove event - Occurs when the user moves the mouse. void OnMouseMoveRadialMenu1(short Button,short Shift,long X,long Y) { /* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); OutputDebugStringW( L"Full-Index: " ); OutputDebugStringW( _bstr_t(spRadialMenu1->GetIndexFromPoint(EXRADIALMENULib::exRadialFullItems,-1,-1)) ); OutputDebugStringW( L"Index: " ); OutputDebugStringW( _bstr_t(spRadialMenu1->GetIndexFromPoint(EXRADIALMENULib::exRadialItems,-1,-1)) ); OutputDebugStringW( L"Sub-Index: " ); OutputDebugStringW( _bstr_t(spRadialMenu1->GetIndexFromPoint(EXRADIALMENULib::exRadialSubItems,-1,-1)) ); } EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); |
73 |
How can I select an item
// SelectItem event - Notifies once the user selects an item. void OnSelectItemRadialMenu1(LPDISPATCH Item) { // SelectedIndex(3) = Item.Index } /* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutSelBackAlpha(EXRADIALMENULib::exRadialItems,32); spRadialMenu1->PutSelBackAlpha(EXRADIALMENULib::exRadialSubItems,128); spRadialMenu1->PutSelForeColor(EXRADIALMENULib::exRadialFullItems,RGB(0,0,0)); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotParent,-1); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialHotParent,32); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotFullItem,-1); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->GetItems()->PutToString(L"Item 1,Item 2,Item 3,Item 4,Item 5,Item 6,Item 7,Item 8"); spRadialMenu1->PutSelectedIndex(EXRADIALMENULib::exRadialFullItems,0); spRadialMenu1->EndUpdate(); |
72 |
How can I use the sub-items zone only
|
71 |
Is it possible to display all items with a different rotation angle
|
70 |
How can I programatically advance / browse for the parent item (method 2)
// RClick event - Occurs once the user right clicks the control. void OnRClickRadialMenu1() { /* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutBrowseItem(((ObjectPtr)(spRadialMenu1->GetBrowseItem()->GetParent()))); } EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutDisplayArrow(EXRADIALMENULib::exRadialItems); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); EXRADIALMENULib::IItemPtr var_Item = var_Items->Add(L"Volume",vtMissing,vtMissing); var_Item->PutCaption(EXRADIALMENULib::exRadialSubItems,L"slider"); var_Item->PutBrowseType(EXRADIALMENULib::exBrowseItemCustom); var_Item->PutBrowseCustomType(EXRADIALMENULib::exRadialCustomSlider); EXRADIALMENULib::IItemsPtr var_Items1 = var_Items->Add(L"Item",vtMissing,vtMissing)->GetItems(); var_Items1->Add(L"Child 1",vtMissing,vtMissing); var_Items1->Add(L"Child 2",vtMissing,vtMissing); |
69 |
How can I programatically advance / browse for the parent item (method 1)
|
68 |
Can I display the pointer with a different angle
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutPointerPicture("pointer.png"); spRadialMenu1->PutPointerPictureY(L"y + (height-pheight)/2- 21*dpi"); spRadialMenu1->PutPointerPictureX(L"x + (width-pwidth)/2 + 1 * dpi"); spRadialMenu1->PutAllowHotPointer(VARIANT_FALSE); spRadialMenu1->PutParentSize(L"36*dpi"); spRadialMenu1->PutParentImageHeight(EXRADIALMENULib::exRadialMenuStateAll,L"48*dpi"); spRadialMenu1->PutParentImageWidth(EXRADIALMENULib::exRadialMenuStateAll,L"48*dpi"); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotParent,-1); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialHotParent,32); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotFullItem,-1); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->GetItems()->PutToString(L"Item 1,Item 2,Item 3,Item 4,Item 5,Item 6,Item 7,Item 8"); spRadialMenu1->PutPointerAngle(12); spRadialMenu1->EndUpdate(); |
67 |
How can I use the pointer (select sample)
// SelectItem event - Notifies once the user selects an item. void OnSelectItemRadialMenu1(LPDISPATCH Item) { // PointerIndex = Item.Index /* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutSelectedIndex(EXRADIALMENULib::exRadialFullItems,spRadialMenu1->GetPointerIndex()); } EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutPointerPicture("pointer.png"); spRadialMenu1->PutSelBackAlpha(EXRADIALMENULib::exRadialItems,32); spRadialMenu1->PutSelBackAlpha(EXRADIALMENULib::exRadialSubItems,128); spRadialMenu1->PutPointerPictureY(L"y + (height-pheight)/2- 21*dpi"); spRadialMenu1->PutPointerPictureX(L"x + (width-pwidth)/2 + 1 * dpi"); spRadialMenu1->PutAllowHotPointer(VARIANT_FALSE); spRadialMenu1->PutSelForeColor(EXRADIALMENULib::exRadialFullItems,RGB(0,0,0)); spRadialMenu1->PutParentSize(L"36*dpi"); spRadialMenu1->PutParentImageHeight(EXRADIALMENULib::exRadialMenuStateAll,L"48*dpi"); spRadialMenu1->PutParentImageWidth(EXRADIALMENULib::exRadialMenuStateAll,L"48*dpi"); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotParent,-1); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialHotParent,32); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotFullItem,-1); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->GetItems()->PutToString(L"Item 1,Item 2,Item 3,Item 4,Item 5,Item 6,Item 7,Item 8"); spRadialMenu1->PutPointerIndex(0); spRadialMenu1->PutSelectedIndex(EXRADIALMENULib::exRadialFullItems,spRadialMenu1->GetPointerIndex()); spRadialMenu1->EndUpdate(); |
66 |
How can I use the pointer (hot sample)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutPointerPicture("pointer.png"); spRadialMenu1->PutPointerIndex(-1); spRadialMenu1->PutPointerPictureY(L"y + (height-pheight)/2- 21*dpi"); spRadialMenu1->PutPointerPictureX(L"x + (width-pwidth)/2 + 1 * dpi"); spRadialMenu1->PutAllowHotPointer(VARIANT_TRUE); spRadialMenu1->PutSelBackAlpha(EXRADIALMENULib::exRadialFullItems,128); spRadialMenu1->PutSelForeColor(EXRADIALMENULib::exRadialFullItems,RGB(0,0,0)); spRadialMenu1->PutParentSize(L"36*dpi"); spRadialMenu1->PutParentImageHeight(EXRADIALMENULib::exRadialMenuStateAll,L"48*dpi"); spRadialMenu1->PutParentImageWidth(EXRADIALMENULib::exRadialMenuStateAll,L"48*dpi"); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotParent,-1); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialHotParent,32); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotFullItem,-1); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->GetItems()->PutToString(L"Item 1(1),Item 2,Item 3(1),Item 4,Item 5,Item 6,Item 7,Item 8"); spRadialMenu1->EndUpdate(); |
65 |
Is it possible to apply the control's background picture on the parent zone too
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutBackgroundPicture("Background\\fronte.png"); spRadialMenu1->PutForeColor(RGB(255,255,255)); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutParentSize(L"48 * dpi"); spRadialMenu1->PutDisplayRadial(EXRADIALMENULib::exRadialItems,EXRADIALMENULib::exDisplayRadialRotated); spRadialMenu1->PutDisplayCenter(EXRADIALMENULib::exRadialItems,0.23); spRadialMenu1->GetItems()->PutToString(L"Item 1(1),Item 2,Item 3(1),Item 4,Item 5,Item 6,Item 7,Item 8"); spRadialMenu1->PutParentBackColor(-1); spRadialMenu1->PutExcludeParentFromItems(VARIANT_TRUE); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialParentBorder,RGB(0,0,0)); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialParentBorder,128); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialItemsGridLines,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialItemsGridLines,128); spRadialMenu1->EndUpdate(); |
64 |
Can I display the picture on the parent zone, a bit larger
|
63 |
Is it possible to assign a different background picture when displaying a slider/custom data
|
62 |
How can I customize the custom part of the control, the inside ring/circle
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutDisplayArrow(EXRADIALMENULib::exRadialItems); spRadialMenu1->GetItems()->PutToString(L"[scap=Item 1],[scap=Item 2],[scap=Item 3],[scap=Item 4]"); spRadialMenu1->PutInflateRadialMenu(L"-4*dpi"); spRadialMenu1->PutInflateCustom(L"-4*dpi"); spRadialMenu1->PutCustomBackColor(RGB(128,128,128)); spRadialMenu1->PutCustomBackAlpha(128); spRadialMenu1->GetItems()->PutToString(L"Item 1(Sub Child 1,Sub Child 2),Item 2[scap=slider],Item 3(1),Item 4,Item 5,Item 6,Item 7,Item 8"); EXRADIALMENULib::IItemPtr var_Item = spRadialMenu1->GetItems()->GetItem("Item 2"); var_Item->PutBrowseType(EXRADIALMENULib::exBrowseItemCustom); var_Item->PutBrowseCustomType(EXRADIALMENULib::exRadialCustomSlider); spRadialMenu1->PutBrowseItem(((EXRADIALMENULib::IItemPtr)(spRadialMenu1->GetItems()->GetItem("Item 2")))); |
61 |
How do I prevent expanding / collapsing the radial menu
|
60 |
Is it possible to change the parent's picture/image when expanding collapsing the radial menu
// BrowseItem event - Notifies once the user browses for a new item. void OnBrowseItemRadialMenu1(LPDISPATCH Item) { /* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); OutputDebugStringW( L"Current State: " ); OutputDebugStringW( _bstr_t(spRadialMenu1->GetState()) ); } // SelectParent event - Occurs once the user clicks the parent of the item. void OnSelectParentRadialMenu1() { EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); OutputDebugStringW( L"Current State: " ); OutputDebugStringW( _bstr_t(spRadialMenu1->GetState()) ); } EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->GetItems()->PutToString(L"Item 1(Sub Child 1,Sub Child 2),Item 2,Item 3(1),Item 4,Item 5,Item 6,Item 7,Item 8"); EXRADIALMENULib::IItemPtr var_Item = spRadialMenu1->GetItems()->GetItem("Item 2"); var_Item->PutBrowseType(EXRADIALMENULib::exBrowseItemCustom); var_Item->PutBrowseCustomType(EXRADIALMENULib::exRadialCustomSlider); spRadialMenu1->PutParentImage(EXRADIALMENULib::exRadialMenuCollapsed,"format_font_size_less.png"); spRadialMenu1->PutParentImage(EXRADIALMENULib::exRadialMenuExpandedNoItems,"fileview_text.png"); spRadialMenu1->PutParentImage(EXRADIALMENULib::exRadialMenuExpandedRootItem,"edit_undo.png"); |
59 |
Is it possible to assign a different picture on the parent zone (center ring)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutParentSize(L"48 * dpi"); spRadialMenu1->PutParentPicture("Background\\frontb.png"); spRadialMenu1->GetItems()->PutToString(L"Item 1(1),Item 2,Item 3(1),Item 4,Item 5,Item 6,Item 7,Item 8"); |
58 |
Is it possible to assign a different picture on the items zone (inner ring)
|
57 |
How can I change the control's background picture
|
56 |
How can I hide the line being shown around the item form the cursor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotFullItem,0); spRadialMenu1->GetItems()->PutToString(L"Item 1(1),Item 2,Item 3(1),Item 4,Item 5,Item 6,Item 7,Item 8"); |
55 |
Is it possible to highlight items with children, with a different background color, for those arrow picture is shown (items, inner ring)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialItemsChildren,RGB(0,0,0)); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialItemsChildren,64); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialItemsChildren,-1); spRadialMenu1->GetItems()->PutToString(L"Item 1(1),Item 2,Item 3(1),Item 4,Item 5,Item 6,Item 7,Item 8"); |
54 |
Is it possible to highlight items with children, with a different background color, for those arrow picture is shown (subitems, outer ring)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialSubItemsChildren,RGB(0,0,0)); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialSubItemsChildren,64); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialSubItemsChildren,-1); spRadialMenu1->GetItems()->PutToString(L"Item 1(1),Item 2,Item 3(1),Item 4,Item 5,Item 6,Item 7,Item 8"); |
53 |
Is it possible to highlight the entire item, when cursor hovers it
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotFullItem,RGB(0,0,0)); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialHotFullItem,64); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotFullItem,-1); spRadialMenu1->GetItems()->PutToString(L"Item 1,Item 2,Item 3,Item 4,Item 5,Item 6,Item 7,Item 8"); |
52 |
How can I change the border around the subitems zone, when cursor hovers it ( outer ring )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotFullItem,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialHotFullItem,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotFullItem,3); spRadialMenu1->GetItems()->PutToString(L"Item 1,Item 2,Item 3,Item 4,Item 5,Item 6,Item 7,Item 8"); |
51 |
How can I change the border around the subitems zone, when cursor hovers it ( outer ring )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotSubItem,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialHotSubItem,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotSubItem,3); spRadialMenu1->GetItems()->PutToString(L"Item 1,Item 2,Item 3,Item 4,Item 5,Item 6,Item 7,Item 8"); |
50 |
How can I change the border around the items zone, when cursor hovers it ( inner ring )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotItem,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialHotItem,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotItem,3); spRadialMenu1->GetItems()->PutToString(L"Item 1,Item 2,Item 3,Item 4,Item 5,Item 6,Item 7,Item 8"); |
49 |
How can I change the border around the parent zone, when cursor hovers it ( center ring )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotParent,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialHotParent,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotParent,3); |
48 |
How can I change the border around the items zone ( inner ring )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialItemsBorder,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialItemsBorder,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialItemsBorder,3); |
47 |
How can I change the border around the parent zone ( center ring )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialParentBorder,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialParentBorder,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialParentBorder,3); |
46 |
How can I change the grid lines in the items zone ( inner ring )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialItemsGridLines,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialItemsGridLines,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialItemsGridLines,3); |
45 |
How can I change the border around the slider / custom part of the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutInflateCustom(spRadialMenu1->GetInflateItems()); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialCustomBorder,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialCustomBorder,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialCustomBorder,3); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); EXRADIALMENULib::IItemPtr var_Item = var_Items->Add(L"Slider",vtMissing,vtMissing); var_Item->PutBrowseType(EXRADIALMENULib::exBrowseItemCustom); var_Item->PutBrowseCustomType(EXRADIALMENULib::exRadialCustomSlider); spRadialMenu1->PutBrowseItem(((EXRADIALMENULib::IItemPtr)(spRadialMenu1->GetItems()->GetItem("Slider")))); |
44 |
How can I change the grid lines in the subitems zone ( outer ring )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialSubItemsGridLines,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialSubItemsGridLines,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialSubItemsGridLines,3); |
43 |
How can I change the border around the subitems (exRadialSubItemsBorder)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialSubItemsBorder,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialSubItemsBorder,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialSubItemsBorder,3); |
42 |
How can I change the border around the radial menu (exRadialBorder)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(-1); spRadialMenu1->PutInflateItems(L"-8*dpi"); spRadialMenu1->PutItemsBackColor(RGB(240,240,240)); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialBorder,RGB(0,0,0)); spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialBorder,EXRADIALMENULib::exRadialLineDot); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialBorder,3); |
41 |
How can I customize the parent part of the control, the center ring/circle
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->GetItems()->PutToString(L"Item 1[scap=Item 1],Item 2[scap=Item 2],Item 3[scap=Item 3],Item 4[scap=Item 4]"); spRadialMenu1->PutParentSize(L"48 * dpi"); spRadialMenu1->PutParentImageHeight(EXRADIALMENULib::exRadialMenuStateAll,L"78 * dpi"); spRadialMenu1->PutParentImageWidth(EXRADIALMENULib::exRadialMenuStateAll,L"78 * dpi"); spRadialMenu1->PutParentBackColor(RGB(0,255,0)); spRadialMenu1->PutParentBackAlpha(128); spRadialMenu1->PutExcludeParentFromItems(VARIANT_TRUE); |
40 |
How can I prevent showing the arrow in the outer ring
|
39 |
Is it possible to change the default arrow, that items with children display (method 2)
|
38 |
Is it possible to change the default arrow, that items with children display (method 1)
|
37 |
How can I change the logo image
|
36 |
How can I customize the items part of the control, the inside ring/circle
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutDisplayRadial(EXRADIALMENULib::exRadialFullItems,EXRADIALMENULib::exDisplayRadialRotated); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->GetItems()->PutToString(L"Item 1[scap=Item 1],Item 2[scap=Item 2],Item 3[scap=Item 3],Item 4[scap=Item 4]"); spRadialMenu1->PutInflateRadialMenu(L"-4*dpi"); spRadialMenu1->PutInflateItems(L"-4*dpi"); spRadialMenu1->PutItemsBackColor(RGB(0,255,0)); spRadialMenu1->PutItemsBackAlpha(128); |
35 |
How can I customize the subitems part of the control, the outside ring/circle
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->GetItems()->PutToString(L"[scap=Item 1],[scap=Item 2],[scap=Item 3],[scap=Item 4]"); spRadialMenu1->PutInflateRadialMenu(L"-4*dpi"); spRadialMenu1->PutSubItemsSize(L"48 * dpi"); spRadialMenu1->PutSubItemsBackColor(RGB(0,255,0)); spRadialMenu1->PutSubItemsBackAlpha(128); |
34 |
Can I expand/shrink the radial menu relative to its border/shadow
|
33 |
Is it possible to remove/hive the control's shadow
|
32 |
How do I change the color of the control's shadow
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutShadowColor(RGB(255,0,0)); spRadialMenu1->GetItems()->PutToString(L"Item 1,Item 2,Item 3,Item 4"); |
31 |
How can I evaluate/format an expression using the control
|
30 |
Is it possible to display some extra captions on the control's background
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutMinVisibleCount(6); spRadialMenu1->GetItems()->PutToString(L"Item 1,Item 2,Item 3,Item 4"); spRadialMenu1->PutCaption(EXRADIALMENULib::exLayerCaption,"This is a caption to be displayed on the control's background."); spRadialMenu1->PutExtraCaption("extra",EXRADIALMENULib::exLayerCaption,"This is an extra caption to be displayed on the control's background."); spRadialMenu1->PutExtraCaption("extra",EXRADIALMENULib::exLayerCaptionAnchor,long(2)); spRadialMenu1->PutExtraCaption("extra",EXRADIALMENULib::exLayerCaptionWordWrap,VARIANT_TRUE); spRadialMenu1->PutExtraCaption("extralogo",EXRADIALMENULib::exLayerCaption,"<img>logo:64</img>"); spRadialMenu1->PutExtraCaption("extralogo",EXRADIALMENULib::exLayerCaptionAnchor,long(4)); spRadialMenu1->PutExtraCaption("extralogo",EXRADIALMENULib::exLayerCaptionLeft,"width-twidth"); spRadialMenu1->EndUpdate(); |
29 |
What events the control supports
|
28 |
How can I use/load images/pictures
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutHTMLPicture(L"relative","settings.png"); spRadialMenu1->PutHTMLPicture(L"absolute","C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images\\favorites.png"); spRadialMenu1->PutHTMLPicture(L"encoded",_bstr_t("gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0iIEOZCJJUBEjBB8BBkRERBJwJBZOcKAZ2mB2AJ9aqCZkRDJ0IpYOhTN5mOh3MJyMoAO9JFxpNxrOZjMJwMouN") + "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"); spRadialMenu1->PutBackgroundPicture("Background\\frame.png"); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"Relative 1","relative",vtMissing); var_Items->Add(L"Relative 1",vtMissing,vtMissing)->PutImage(EXRADIALMENULib::exRadialItems,"settings.png"); var_Items->Add(L"Aboslute 1","absolute",vtMissing); var_Items->Add(L"Aboslute 2","favorites.png",vtMissing); var_Items->Add(L"Encoded 1","encoded",vtMissing); var_Items->Add(L"Encoded 2",vtMissing,vtMissing)->PutImage(EXRADIALMENULib::exRadialItems,_bstr_t("gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0iIEOZCJJUBEjBB8BBkRERBJwJBZOcKAZ2mB2AJ9aqCZkRDJ0IpYOhTN5mOh3MJyMoAO9JFxpNxrOZjMJwMouN") + "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"); var_Items->Add(L"<c><img>relative</img><br><c>Relative 3",vtMissing,vtMissing); var_Items->Add(L"<c>Relative 4<br><c><img>relative</img>","relative",vtMissing); spRadialMenu1->EndUpdate(); |
27 |
Does your control supports tooltips (method 2)
|
26 |
Can I change the visual appearance of the control's tooltip
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spRadialMenu1->PutBackground(EXRADIALMENULib::exToolTipAppearance,0x1000000); spRadialMenu1->PutDisplayAngle(-45); spRadialMenu1->PutExpanded(VARIANT_TRUE); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->PutToString(L"Item 0[ttp=tooltip's item][sttp=tooltip's subitem]"); var_Items->Add(L"Item 1",vtMissing,vtMissing)->PutTooltip(EXRADIALMENULib::exRadialItems,L"This is a bit of text that shown when user <b>hovers</b> the item"); EXRADIALMENULib::IItemPtr var_Item = var_Items->Add(L"Item 2",vtMissing,vtMissing); var_Item->PutTooltip(EXRADIALMENULib::exRadialItems,L"This is a bit of text that shown when user hovers the item"); var_Item->PutTooltip(EXRADIALMENULib::exRadialSubItems,L"This is a bit of text that shown when user hovers the sub-item"); spRadialMenu1->EndUpdate(); |
25 |
Does your control supports tooltips (method 1)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutDisplayAngle(-45); spRadialMenu1->PutExpanded(VARIANT_TRUE); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->PutToString(L"Item 0[ttp=tooltip's item][sttp=tooltip's subitem]"); var_Items->Add(L"Item 1",vtMissing,vtMissing)->PutTooltip(EXRADIALMENULib::exRadialItems,L"This is a bit of text that shown when user <b>hovers</b> the item"); EXRADIALMENULib::IItemPtr var_Item = var_Items->Add(L"Item 2",vtMissing,vtMissing); var_Item->PutTooltip(EXRADIALMENULib::exRadialItems,L"This is a bit of text that shown when user hovers the item"); var_Item->PutTooltip(EXRADIALMENULib::exRadialSubItems,L"This is a bit of text that shown when user hovers the sub-item"); |
24 |
How can I use/load icons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images\\Icons"); spRadialMenu1->Images("copy.ico"); spRadialMenu1->Images("C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images\\Icons\\dvd.ico"); spRadialMenu1->Images(_bstr_t("gBJJgBggAAQAAgACEKAD/hz/EMNh8TIRNGwAjEZAEXjAojJAjMLjABAAgjUYkUnlUnOktd54mD/lp0f5wmz/Ns5f5qnj/NE/f5noT/M1FolGopmo9KpNLpxfqDvldTq") + "lVq1XrFZrVbrldr1fjKPsT/ftlf72er0s71er/e72e1ut9ye90uz3vF3vN4ut8u1NsGBwWDwmFw2DUWJf9peb/UyXSj/Yq+Xj/Y7BX7/ZLDYL/ZTFYeeYrEf7LY2kZbH" + "Yul1T/arTaT/Kq4Kb/G7IGz/cD5cD/Ne/f+H4XD4nF41UWvJxb0xq4Viqf66V6sf68WKvf69WSw7KzWL/Xy0WXg8T/X/l8/jbzcbb/MDAL/uanxcb7cb/Pv54PH/n9/z" + "/qsY8BOWxq0LUtC2reuK8QWvcHL7B67HAeTem2er2n0fx9H+SEOv3AEQRDETDl/Ep3mWZJkH+ZhlGUf5mmWZcXmZGUaRkZRkmSf5kQG0bSGEYTOmBErsl4ypdFyXJ/lu" + "W5bH+WkoH+TEpqlEcrSvLCsKEM5Am6bT2n4eq6zDMcxH/MkzzMfZ6LifR5rafB4wKd54H+eR1HWf52nIcp/nKbhun+SpJEkf4aUOQMs0VRdFAbRwImfSJ/nyeS1TQclA" + "H+fR7Lqc52PuGBVBgf4klaIx/mMYRbs8XEnGZIc9T4f5vmua5/j3XB/gPXYI0ZX1fwAgiCD/YhPnIcJxTSup+nyfZ/nceh2n+HRYh4f4HFCCNr2zaZYh2f51ngdB/nwe" + "a1T3PpbFk8Yn3aT9hJJYF5Xm4V4A1e4Q0iZ9J0rZ54HSf4glqIh/gwU4OH+FxahxhOF4Lg5/iAWYhH+chzG8f5znAcJ/ksSpKn+CORBDeF6ZNk6wXheA5ZYR5gmUYWIl" + "kIp/g+VgTH+Gxc4oJRiiyf4jmGKuc53mubn+HBVB8f5MlETR/itqJH5VYWUatq6r6pqgQkeE5nhSWIYn/sGxbIf4wmmOp/imZQybHsO37LuGua9rWVaxvG8ozu2+a0GZ" + "bh6f48nCSKgmsPh/7/wO+8Zqu9cfq3G8aFBaYYL5tEIf4omgOJ/8phnJcZyHR5N0O+gqVgUn+Fhgisf4TF4JZ/9R1XTb50ncWB227AiUgQ5D33gd/3vf93rXc+RRaKh8" + "lfmI6j6Q72AF4oyQDBIf5N6IC"); spRadialMenu1->PutHTMLPicture(L"icon","download.ico"); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->PutToString(L"Icon 0[img=0]"); var_Items->Add(L"Icon 1",long(1),vtMissing); var_Items->Add(L"Icon 2","print.ico",vtMissing); var_Items->Add(L"Icon 3",vtMissing,vtMissing)->PutImage(EXRADIALMENULib::exRadialSubItems,"icon"); spRadialMenu1->EndUpdate(); |
23 |
How can I load items /images to the control, in sub-items zone
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutAllowToggleExpand(VARIANT_FALSE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutHTMLPicture(L"logo","settings.png"); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialParentBorder,spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialItemsGridLines,-1); spRadialMenu1->PutSubItemsSize(L"64 * dpi"); spRadialMenu1->PutParentSize(L"value - 66 * dpi"); spRadialMenu1->PutParentImageWidth(EXRADIALMENULib::exRadialMenuStateAll,L"64*dpi"); spRadialMenu1->PutParentImageHeight(EXRADIALMENULib::exRadialMenuStateAll,L"64*dpi"); spRadialMenu1->PutParentCaption(EXRADIALMENULib::exRadialMenuStateAll,L"<font ;14><c>System Settings</font><br><c>Surround"); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotFullItem,0); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotSubItem,-1); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotSubItem,0x8000000d); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialHotSubItem,128); spRadialMenu1->PutItemsBackColor(spRadialMenu1->GetSubItemsBackColor()); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"","color_line.png",long(2)); var_Items->Add(L"","color_fill.png",long(2)); var_Items->Add(L"","format_font_size_less.png",long(2)); var_Items->Add(L"","edit_undo.png",long(2)); var_Items->Add(L"","edit_redo.png",long(2)); var_Items->Add(L"","edit_copy.png",long(2)); var_Items->Add(L"","fileview_text.png",long(2)); var_Items->Add(L"","checkmark_korganizer.png",long(2)); spRadialMenu1->EndUpdate(); |
22 |
How can I load items /images to the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutHTMLPicture(L"arrow","arrow.png"); spRadialMenu1->PutSubItemsBackColor(RGB(190,190,190)); spRadialMenu1->PutShadowColor(spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialParentBorder,spRadialMenu1->GetSubItemsBackColor()); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialItemsGridLines,-1); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"Foreground-Color","color_line.png",vtMissing)->GetItems()->PutToString(L"Foreground"); var_Items->Add(L"Background-Color","color_fill.png",vtMissing)->GetItems()->PutToString(L"Background"); var_Items->Add(L"Font","format_font_size_less.png",vtMissing)->GetItems()->PutToString(L"Font"); var_Items->Add(L"Undo","edit_undo.png",vtMissing)->GetItems()->PutToString(L"Undo"); var_Items->Add(L"Redo","edit_redo.png",vtMissing)->GetItems()->PutToString(L"Redo"); var_Items->Add(L"Copy","edit_copy.png",vtMissing)->GetItems()->PutToString(L"Copy"); var_Items->Add(L"List","fileview_text.png",vtMissing)->GetItems()->PutToString(L"List"); var_Items->Add(L"Tag","checkmark_korganizer.png",vtMissing)->GetItems()->PutToString(L"Tag"); spRadialMenu1->EndUpdate(); |
21 |
How can I load items to the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutMinVisibleCount(3); spRadialMenu1->PutPicturesPath(L"C:\\Program Files\\Exontrol\\ExRadialMenu\\Sample\\Images"); spRadialMenu1->PutHTMLPicture(L"remove","remove.png"); spRadialMenu1->PutHTMLPicture(L"refresh","refresh.png"); spRadialMenu1->PutHTMLPicture(L"preview","preview.png"); spRadialMenu1->PutHTMLPicture(L"search","search.png"); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); EXRADIALMENULib::IItemsPtr var_Items1 = var_Items->Add(L"Search","search",vtMissing)->GetItems(); var_Items1->PutToString(L"Search A,Search B,Search C"); var_Items->Add(L"Refresh","refresh",vtMissing); var_Items->Add(L"Preview","preview",vtMissing); var_Items->Add(L"Remove","remove",vtMissing); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->EndUpdate(); |
20 |
How do I get the version of the control I am running
|
19 |
How do I select an item
|
18 |
How can I change the item's foreground color (sample 3)
|
17 |
How can I change the item's foreground color (sample 2)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutMinVisibleCount(6); spRadialMenu1->GetFont()->PutSize(_variant_t("14.25")); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); EXRADIALMENULib::IItemPtr var_Item = var_Items->Add(L"Item 1",vtMissing,vtMissing); var_Item->PutForeColor(EXRADIALMENULib::exRadialItems,RGB(255,0,0)); EXRADIALMENULib::IItemsPtr var_Items1 = var_Item->GetItems(); var_Items1->Add(L"SubItem 1",vtMissing,vtMissing); var_Items1->Add(L"SubItem 2",vtMissing,vtMissing); var_Items->Add(L"Item 2",vtMissing,vtMissing); var_Items->Add(L"Item 3",vtMissing,vtMissing); var_Items->Add(L"Item 4",vtMissing,vtMissing); var_Items->Add(L"Item 5",vtMissing,vtMissing); var_Items->Add(L"Item 6",vtMissing,vtMissing); spRadialMenu1->EndUpdate(); |
16 |
How can I change the item's foreground color (sample 1)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutMinVisibleCount(6); spRadialMenu1->GetFont()->PutSize(_variant_t("14.25")); spRadialMenu1->PutForeColor(RGB(255,0,0)); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); EXRADIALMENULib::IItemsPtr var_Items1 = var_Items->Add(L"Item 1",vtMissing,vtMissing)->GetItems(); var_Items1->Add(L"SubItem 1",vtMissing,vtMissing); var_Items1->Add(L"SubItem 2",vtMissing,vtMissing); var_Items->Add(L"Item 2",vtMissing,vtMissing); var_Items->Add(L"Item 3",vtMissing,vtMissing); var_Items->Add(L"Item 4",vtMissing,vtMissing); var_Items->Add(L"Item 5",vtMissing,vtMissing); var_Items->Add(L"Item 6",vtMissing,vtMissing); spRadialMenu1->EndUpdate(); |
15 |
How can I add new items / childrend to the control (method 2)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutExpanded(VARIANT_TRUE); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); EXRADIALMENULib::IItemsPtr var_Items1 = var_Items->Add(L"Item 1",vtMissing,vtMissing)->GetItems(); var_Items1->Add(L"SubItem 1",vtMissing,vtMissing); var_Items1->Add(L"SubItem 2",vtMissing,vtMissing); var_Items->Add(L"Item 2",vtMissing,vtMissing); var_Items->Add(L"Item 3",vtMissing,vtMissing); var_Items->Add(L"Item 4",vtMissing,vtMissing); var_Items->Add(L"Item 5",vtMissing,vtMissing); var_Items->Add(L"Item 6",vtMissing,vtMissing); var_Items->Add(L"Item 7",vtMissing,vtMissing); var_Items->Add(L"Item 8",vtMissing,vtMissing); spRadialMenu1->EndUpdate(); |
14 |
How can I add new items / childrend to the control (method 1)
|
13 |
How do I enlarge the font (method 2)
|
12 |
How do I enlarge the font (method 1)
|
11 |
How can I expand the control (method 2)
|
10 |
How can I expand the control (method 1)
|
9 |
By default, the control displays 8-pies. How can I change that
|
8 |
How can I prevents expanding / collapsing the radial menu
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->BeginUpdate(); spRadialMenu1->PutAllowToggleExpand(VARIANT_FALSE); spRadialMenu1->PutToString(L"Item 1,Item 2,Item 3,Item 4,Item 5,Item 6,Item 7,Item 8"); spRadialMenu1->PutCaption(EXRADIALMENULib::exLayerCaption,"Cant expand/collapse the radial menu"); spRadialMenu1->PutCaption(EXRADIALMENULib::exLayerCaptionAnchor,long(0)); spRadialMenu1->PutCaption(EXRADIALMENULib::exLayerCaptionLeft,"width-twidth"); spRadialMenu1->PutCaption(EXRADIALMENULib::exLayerCaptionTop,"height-theight"); spRadialMenu1->EndUpdate(); |
7 |
How can I prevent flickering the item, when user selects it
|
6 |
How do I highlight the sub-item zone when cursor hovers it (method 2)
|
5 |
How do I highlight the sub-item zone when cursor hovers it (method 1)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutExpanded(VARIANT_TRUE); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotFullItem,0); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotSubItem,-1); spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialHotSubItem,0x8000000d); spRadialMenu1->PutRadialLineAlpha(EXRADIALMENULib::exRadialHotSubItem,64); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"Item A",vtMissing,vtMissing); var_Items->Add(L"Item B",vtMissing,vtMissing); var_Items->Add(L"Item C",vtMissing,vtMissing); |
4 |
Is it possible to highlight the entire item when cursor hovers the item
|
3 |
How can I hide the hot line when hovering the cursor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutAllowToggleExpand(VARIANT_FALSE); spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialHotFullItem,0); EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems(); var_Items->Add(L"Item A",vtMissing,vtMissing); var_Items->Add(L"Item B",vtMissing,vtMissing); var_Items->Add(L"Item C",vtMissing,vtMissing); |
2 |
How can I hide the control's shadow
|
1 |
How do I change the control's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library' #import <ExRadialMenu.dll> using namespace EXRADIALMENULib; */ EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown(); spRadialMenu1->PutBackColor(RGB(240,240,249)); |