112:
How can I display a chart/organigram view inside

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items;
	var_Menu->Add(L"File",TNoParam(),TNoParam());
	Exmenulib_tlb::IControlPtr var_Control = var_Menu->Add(L"OrgChart",TVariant(3),TNoParam())->SubControl;
		var_Control->ControlID = L"Exontrol.ChartView";
		var_Control->Width = 128;
		var_Control->Height = 164;
		var_Control->Create();
		/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		ExOrgChart 1.0 Control Library

	TypeLib: ExOrgChart.dll

	to define the namespace: Exorgchartlib_tlb
*/
//#include "EXORGCHARTLIB_TLB.h"
		Exorgchartlib_tlb::IChartViewPtr var_ChartView = (IDispatch*)var_Control->Object;
			var_ChartView->IndentSiblingY = 30;
			var_ChartView->ShowLinksDir = true;
			var_ChartView->PenWidthLink = 2;
			var_ChartView->LinkColor = RGB(0,0,0);
			var_ChartView->AntiAliasing = true;
			Exorgchartlib_tlb::INodesPtr var_Nodes = var_ChartView->Nodes;
				var_Nodes->Add(L"L1_A",TNoParam(),TVariant("LA"),TNoParam(),TNoParam())->ShowLinkDir = false;
				var_Nodes->Add(L"L1_B",TNoParam(),TVariant("LB"),TNoParam(),TNoParam());
				var_Nodes->Add(L"L2_A",TVariant("LA"),TVariant("LA2"),TNoParam(),TNoParam());
				var_Nodes->Add(L"L2_B",TVariant("LB"),TVariant("LB2"),TNoParam(),TNoParam());
	var_Menu->Add(L"Close",TNoParam(),TNoParam());
ExMenu1->Refresh();

111:
How do I uncheck the item

// Select event - Occurs when an item is selected by clicking or by pressing RETURN key.
void __fastcall TForm1::ExMenu1Select(TObject *Sender,long ID)
{
	// Item(ID).Check = False
}

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items;
	Exmenulib_tlb::IItemPtr var_item = var_Menu->Add(L"Horizontal View",TNoParam(),TVariant(210));
		var_item->Check = true;
		var_item->CheckEffect = false;
ExMenu1->Refresh();

110:
How do I get the identifier of the item being clicked / selected

// Select event - Occurs when an item is selected by clicking or by pressing RETURN key.
void __fastcall TForm1::ExMenu1Select(TObject *Sender,long ID)
{
	OutputDebugString( L"Using ID parameter:" );
	OutputDebugString( L"ID" );
	OutputDebugString( L"Using the EventParam property: " );
	OutputDebugString( PChar(ExMenu1->EventParam[0]) );
	OutputDebugString( L"Using the ExecuteTemplate property: " );
	OutputDebugString( PChar(ExMenu1->ExecuteTemplate(L"EventParam(0)")) );
	ExMenu1->Template = L"EventParam(0)";
	OutputDebugString( L"Using TemplateResult property:" );
	OutputDebugString( PChar(ExMenu1->get_TemplateResult()) );
	OutputDebugString( L"Using TemplateResultN property:" );
	OutputDebugString( PChar(ExMenu1->TemplateResultN) );
	OutputDebugString( L"Using TemplateResultS property:" );
	OutputDebugString( ExMenu1->TemplateResultS );
}

ExMenu1->Items->ToString = L"A[id=10](B[id=20],C[id=30](D[id=40],E[id=50]),F[id=60])";

109:
How can I assign an icon to an item using an external ICO file

ExMenu1->HTMLPicture[L"ico1"] = TVariant("C:\\Program Files\\Exontrol\\ExMenu\\Sample\\VC\\Sample\\res\\sample.ico");
ExMenu1->Items->Add(L"<img>ico1:16</img> Caption",TNoParam(),TNoParam());
ExMenu1->Refresh();

108:
How can I assign an icon to an item using an external ICO file

ExMenu1->ReplaceIcon(TVariant(ExMenu1->ExecuteTemplate("loadpicture(`C:\\Program Files\\Exontrol\\ExMenu\\Sample\\VC\\Sample\\res\\sample.ico`)")),TNoParam());
ExMenu1->Items->Add(L"Caption",TVariant(0),TNoParam())->Image = 0;
ExMenu1->Refresh();

107:
How can I assign a tooltip for an item

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	Exmenulib_tlb::IItemPtr var_item = var_Menu->Add(L"ToolTip     CTRL + <b>F</b>",TNoParam(),TNoParam());
		var_item->set_Tooltip(TVariant("This is a bit of text that should be displayed when the cursor hovers the item"));
		var_item->set_TooltipTitle(TVariant("Title"));
ExMenu1->Refresh();

106:
How can I specify some keys on the right of the item

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	var_Menu->Add(L"File     CTRL + <b>F</b>",TNoParam(),TNoParam());
	var_Menu->Add(L"Left should be a long text",TNoParam(),TNoParam());
ExMenu1->Refresh();

105:
How do I specify the item's alignment

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	var_Menu->Add(L"Left<r>Right",TNoParam(),TNoParam());
	var_Menu->Add(L"Left should be a long text",TNoParam(),TNoParam());
ExMenu1->Refresh();

104:
How do I specify the item's alignment

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	var_Menu->Add(L"Center",TNoParam(),TNoParam())->Alignment = Exmenulib_tlb::AlignmentEnum::exCenter;
	var_Menu->Add(L"Right",TNoParam(),TNoParam())->Alignment = Exmenulib_tlb::AlignmentEnum::exRight;
	var_Menu->Add(L"Left should be a long text",TNoParam(),TNoParam());
ExMenu1->Refresh();

103:
How can I remove the border of the item's text box or an edit control

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	Exmenulib_tlb::IItemPtr var_item = var_Menu->Add(L"Edit 1",TNoParam(),TNoParam());
		var_item->AllowEdit = true;
		var_item->EditCaption = L"test";
		var_item->EditWidth = 128;
		var_item->EditBorder = Exmenulib_tlb::EditBorderEnum::exEditBorderNone;
	var_Menu->Add(L"Edit 2",TNoParam(),TNoParam())->AllowEdit = true;
ExMenu1->Refresh();

102:
How can I specify a single border for the item's text box or an edit control

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	Exmenulib_tlb::IItemPtr var_item = var_Menu->Add(L"Edit 1",TNoParam(),TNoParam());
		var_item->AllowEdit = true;
		var_item->EditCaption = L"test";
		var_item->EditWidth = 128;
		var_item->EditBorder = Exmenulib_tlb::EditBorderEnum::exEditBorderSingle;
	var_Menu->Add(L"Edit 2",TNoParam(),TNoParam())->AllowEdit = true;
ExMenu1->Refresh();

101:
How can I add a checkbox

Exmenulib_tlb::IItemPtr var_item = ExMenu1->Items->Add(L"Checked",TNoParam(),TNoParam());
	var_item->Check = true;
	var_item->CheckEffect = false;
ExMenu1->Refresh();

100:
How can I specify the shape of the cursor while it hovers an item

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	var_Menu->Add(L"Item 1",TNoParam(),TNoParam())->set_Cursor(TVariant("exHelp"));
	var_Menu->Add(L"Item 2",TNoParam(),TNoParam());
ExMenu1->Refresh();

99:
How can I specify the width for text box or an edit control

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	Exmenulib_tlb::IItemPtr var_item = var_Menu->Add(L"Edit 1",TNoParam(),TNoParam());
		var_item->AllowEdit = true;
		var_item->EditCaption = L"test";
		var_item->EditWidth = 128;
	var_Menu->Add(L"Edit 2",TNoParam(),TNoParam())->AllowEdit = true;
ExMenu1->Refresh();

98:
How can I show or hide an item

Exmenulib_tlb::IItemPtr var_item = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam());
	Exmenulib_tlb::IMenuPtr var_Menu = var_item->SubMenu;
		var_Menu->Add(L"Visible",TNoParam(),TNoParam());
		var_Menu->Add(L"Hidden",TNoParam(),TNoParam())->Visible = false;
ExMenu1->Refresh();

97:
Is there any function to display the popup menu up not down

ExMenu1->Items->Add(L"Item",TNoParam(),TNoParam());
Exmenulib_tlb::IItemPtr var_item = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam());
	var_item->ShowDown = false;
	Exmenulib_tlb::IMenuPtr var_Menu = var_item->SubMenu;
		var_Menu->Add(L"Item <fgcolor=FF0000>1</fgcolor>",TNoParam(),TNoParam());
		var_Menu->Add(L"Item 2",TNoParam(),TNoParam())->Caption = L"Item <fgcolor=FF0000>2</fgcolor>";
ExMenu1->Items->Add(L"Item",TNoParam(),TNoParam());
ExMenu1->Appearance = Exmenulib_tlb::AppearanceEnum::Normal;
ExMenu1->Border = Exmenulib_tlb::BorderEnum::SunkenBorder;
ExMenu1->Refresh();

96:
How can I specify the item's foreground color

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	var_Menu->Add(L"Item <fgcolor=FF0000>1</fgcolor>",TNoParam(),TNoParam());
	var_Menu->Add(L"Item 2",TNoParam(),TNoParam())->Caption = L"Item <fgcolor=FF0000>2</fgcolor>";
ExMenu1->Refresh();

95:
How can I specify the item's foreground color

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	var_Menu->Add(L"Item 1",TNoParam(),TNoParam())->ForeColor = RGB(255,0,0);
	var_Menu->Add(L"Item 2",TNoParam(),TNoParam());
ExMenu1->Refresh();

94:
How can I specify the item's background color

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	var_Menu->Add(L"Item 1",TNoParam(),TNoParam())->BackColor = RGB(255,0,0);
	var_Menu->Add(L"Item 2",TNoParam(),TNoParam());
ExMenu1->Refresh();

93:
How can I add an item with a text box or an edit control

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	Exmenulib_tlb::IItemPtr var_item = var_Menu->Add(L"Edit 1",TNoParam(),TNoParam());
		var_item->AllowEdit = true;
		var_item->EditCaption = L"test";
	var_Menu->Add(L"Edit 2",TNoParam(),TNoParam())->AllowEdit = true;
ExMenu1->Refresh();

92:
How can I add an item with a text box or an edit control

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	var_Menu->Add(L"Edit 1",TNoParam(),TNoParam())->AllowEdit = true;
	var_Menu->Add(L"Edit 2",TNoParam(),TNoParam())->AllowEdit = true;
ExMenu1->Refresh();

91:
How can I add a bullet

Exmenulib_tlb::IItemPtr var_item = ExMenu1->Items->Add(L"Bullet",TNoParam(),TNoParam());
	var_item->Check = true;
	var_item->Bullet = true;
ExMenu1->Refresh();

90:
How can I add a checkbox

ExMenu1->Items->Add(L"Checked",TNoParam(),TNoParam())->Check = true;
ExMenu1->Refresh();

89:
How can I enable or disable an item

ExMenu1->Items->Add(L"Disabled",TNoParam(),TNoParam())->Enabled = false;
ExMenu1->Refresh();

88:
How can I display an icon

ExMenu1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ExMenu1->Items->Add(L"A",TNoParam(),TNoParam())->Image = 1;
ExMenu1->Refresh();

87:
How can I specify the item's identifier

ExMenu1->Items->Add(L"A",TNoParam(),TNoParam())->ID = 1000;
ExMenu1->Refresh();

86:
How can I specify the item's identifier

ExMenu1->Items->Add(L"A",TVariant(0),TVariant(1000));
ExMenu1->Refresh();

85:
How can I assign an extra data to an item

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->set_UserData(TVariant("your data"));
ExMenu1->Refresh();

84:
How can I underline an item

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Caption = L"Item <u>1</u>";
ExMenu1->Refresh();

83:
How can I underline an item

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Underline = true;
ExMenu1->Refresh();

82:
How can I display as strikeout an item

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Caption = L"Item <s>1</s>";
ExMenu1->Refresh();

81:
How can I display as strikeout an item

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Strikeout = true;
ExMenu1->Refresh();

80:
How can I display as italic an item

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Caption = L"Item <i>1</i>";
ExMenu1->Refresh();

79:
How can I display as italic an item

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Italic = true;
ExMenu1->Refresh();

78:
How do I bold an item

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Caption = L"Item <b>1</b>";
ExMenu1->Refresh();

77:
How do I bold an item

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Bold = true;
ExMenu1->Refresh();

76:
How do I change the item's caption

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Caption = L"new <b>caption</b>";
ExMenu1->Refresh();

75:
How can I speciy the picture on the drop down menu

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->SubMenu->Picture = (IPictureDisp*)(ExMenu1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));

74:
How can I speciy the number of visible items

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->SubMenu->VisibleItemsCount = 1;

73:
How can I speciy the shape of the cursor when it hovers the menu

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->set_Cursor(TVariant("exHelp"));

72:
How can I add items

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

71:
How I can remove an item

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->Remove(TVariant(10));
ExMenu1->Refresh();

70:
How I can get the number or the count of the items in the menu

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items;
	var_Menu->Add(PChar(var_Menu->Count),TNoParam(),TNoParam());
ExMenu1->Refresh();

69:
How I can clear a menu

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->Clear();
ExMenu1->Items->ToString = L"Item 1";

68:
How do I specify to close an ActiveX item when user clicks it

Exmenulib_tlb::IControlPtr var_Control = ExMenu1->Items->Add(L"Calendar",TVariant(3),TNoParam())->SubControl;
	var_Control->ControlID = L"MSCal.Calendar";
	var_Control->Width = 256;
	var_Control->Height = 196;
	var_Control->Create();
	/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		Microsoft Calendar Control 8.0

	TypeLib: MSCAL.OCX

	to define the namespace: Msacal_tlb
*/
//#include "MSACAL_TLB.h"
	Msacal_tlb::ICalendarPtr var_Calendar = (IDispatch*)var_Control->Object;
		var_Calendar->ShowDateSelectors = false;
		var_Calendar->BackColor = RGB(239,239,231);
	var_Control->CloseOn = Exmenulib_tlb::CloseOnEnum::exLButtonUp;
ExMenu1->Refresh();

67:
How can I access the properties and methods for an ActiveX item

Exmenulib_tlb::IControlPtr var_Control = ExMenu1->Items->Add(L"Calendar",TVariant(3),TNoParam())->SubControl;
	var_Control->ControlID = L"MSCal.Calendar";
	var_Control->Width = 256;
	var_Control->Height = 196;
	var_Control->Create();
	/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		Microsoft Calendar Control 8.0

	TypeLib: MSCAL.OCX

	to define the namespace: Msacal_tlb
*/
//#include "MSACAL_TLB.h"
	Msacal_tlb::ICalendarPtr var_Calendar = (IDispatch*)var_Control->Object;
		var_Calendar->ShowDateSelectors = false;
		var_Calendar->BackColor = RGB(239,239,231);
ExMenu1->Refresh();

66:
I can't see the ActiveX item

Exmenulib_tlb::IControlPtr var_Control = ExMenu1->Items->Add(L"Calendar",TVariant(3),TNoParam())->SubControl;
	var_Control->ControlID = L"MSCal.Calendar";
	var_Control->Create();
ExMenu1->Refresh();

65:
How can I specify the runtime license key for an ActiveX item

Exmenulib_tlb::IControlPtr var_Control = ExMenu1->Items->Add(L"Calendar",TVariant(3),TNoParam())->SubControl;
	var_Control->ControlID = L"MSCal.Calendar";
	var_Control->LicenseKey = L"";
	var_Control->Create();
ExMenu1->Refresh();

64:
How can I specify the width and the height for an ActiveX item

Exmenulib_tlb::IControlPtr var_Control = ExMenu1->Items->Add(L"Calendar",TVariant(3),TNoParam())->SubControl;
	var_Control->ControlID = L"MSCal.Calendar";
	var_Control->Width = 256;
	var_Control->Height = 256;
	var_Control->Create();
ExMenu1->Refresh();

63:
How can I select a date

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	Exmenulib_tlb::IControlPtr var_Control = var_Menu->Add(L"Select a date",TVariant(3),TNoParam())->SubControl;
		var_Control->ControlID = L"MSComCtl2.DTPicker";
		var_Control->Width = 128;
		var_Control->Height = 22;
		var_Control->Create();
		/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		Microsoft Windows Common Controls-2 6.0 (SP6)

	TypeLib: mscomct2.ocx

	to define the namespace: Mscomctl2_tlb
*/
//#include "MSCOMCTL2_TLB.h"
		Mscomctl2_tlb::IDTPickerPtr var_DTPicker = (IDispatch*)var_Control->Object;
			var_DTPicker->Format = Mscomctl2_tlb::FormatConstants::dtpCustom;
			var_DTPicker->CustomFormat = L"dd-MM-yyy";
			var_DTPicker->Refresh();
ExMenu1->Refresh();

62:
How can I add an ActiveX item

Exmenulib_tlb::IControlPtr var_Control = ExMenu1->Items->Add(L"Calendar",TVariant(3),TNoParam())->SubControl;
	var_Control->ControlID = L"MSCal.Calendar";
	var_Control->Create();
ExMenu1->Refresh();

61:
How can I add a separator item

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	var_Menu->Add(L"Item 1",TNoParam(),TNoParam());
	var_Menu->Add(L"",TVariant(1),TNoParam());
	var_Menu->Add(L"Item 2",TNoParam(),TNoParam());
ExMenu1->Refresh();

60:
How can I add a popup or a submenu

Exmenulib_tlb::IMenuPtr var_Menu = ExMenu1->Items->Add(L"Popup",TVariant(2),TNoParam())->SubMenu;
	var_Menu->Add(L"Item 1",TNoParam(),TNoParam());
	var_Menu->Add(L"Item 2",TNoParam(),TNoParam());
ExMenu1->Refresh();

59:
How can I add a new item

ExMenu1->Items->Add(L"Item 1",TNoParam(),TNoParam());
ExMenu1->Refresh();

58:
How I can assign a picture or an icon to an item

ExMenu1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ExMenu1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif");
ExMenu1->ItemHeight[Exmenulib_tlb::AppearanceEnum::Button] = 34;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Caption = L"<img>pic1</img> <b>1</b>";
ExMenu1->Items->get_item(TVariant(60))->Caption = L"T <img>1</img> <img>2</img> and so on ";
ExMenu1->Refresh();

57:
How I can assign a picture to an item

ExMenu1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif");
ExMenu1->HTMLPicture[L"pic2"] = TVariant("c:\\exontrol\\images\\auction.gif");
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->Items->get_item(TVariant(10))->Caption = L"<img>pic1</img> <b>1</b>";
ExMenu1->Items->get_item(TVariant(60))->Caption = L"<img>pic2</img> <b>2</b>";
ExMenu1->Refresh();

56:
How do I call your x-script language

ExMenu1->Template = L"Items.ToString = `Item 1,Item 2`";

55:
How do I change the shape of the cursor whether it hovers the control

ExMenu1->set_Cursor(TVariant("exHelp"));
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

54:
How do I specify whether the item gets selected whether the user presses or releases the mouse

ExMenu1->SelectOn = Exmenulib_tlb::SelectOnEnum::exMouseUp;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

53:
How do I change the picture or icon for the chevrons

ExMenu1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ExMenu1->ScrollImage[true] = 1;
ExMenu1->ScrollImage[false] = 2;
ExMenu1->AllowChevron = Exmenulib_tlb::ChevronEnum::exScroll;
ExMenu1->Items->ToString = TVariant(String("Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item") +
" 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id" +
"=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]" +
"),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Ite" +
"m 1[id=20],[sep][id=30],Item 2[id=40])");

52:
How do I specify the height for items

ExMenu1->ItemHeight[Exmenulib_tlb::AppearanceEnum::Button] = 34;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

51:
How do I change the picture or icon for the chevrons

ExMenu1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ExMenu1->ChevronImage = 1;
ExMenu1->AllowChevron = Exmenulib_tlb::ChevronEnum::exChevron;
ExMenu1->Items->ToString = TVariant(String("Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item") +
" 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id" +
"=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]" +
"),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Ite" +
"m 1[id=20],[sep][id=30],Item 2[id=40])");

50:
How do I disable chevrons

ExMenu1->AllowChevron = Exmenulib_tlb::ChevronEnum::exDefault;
ExMenu1->Items->ToString = TVariant(String("Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item") +
" 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id" +
"=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]" +
"),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Ite" +
"m 1[id=20],[sep][id=30],Item 2[id=40])");

49:
How do I allow chevrons

ExMenu1->AllowChevron = Exmenulib_tlb::ChevronEnum::exScroll;
ExMenu1->Items->ToString = TVariant(String("Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item") +
" 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id" +
"=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]" +
"),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Ite" +
"m 1[id=20],[sep][id=30],Item 2[id=40])");

48:
How do I allow chevrons

ExMenu1->AllowChevron = Exmenulib_tlb::ChevronEnum::exChevron;
ExMenu1->Items->ToString = TVariant(String("Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item") +
" 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id" +
"=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]" +
"),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Ite" +
"m 1[id=20],[sep][id=30],Item 2[id=40])");

47:
How do I show directly the drop down menu, without scrolling

ExMenu1->ScrollOnDrop = Exmenulib_tlb::ShowPopupEffectEnum::exShowPopupDirect;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

46:
How can I change the visual appearance for for a top level item, when the Appearance property is Flat

ExMenu1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ExMenu1->Background[Exmenulib_tlb::BackgroundPartEnum::exSelectRootItem] = 0x1000000;
ExMenu1->Appearance = Exmenulib_tlb::AppearanceEnum::Flat;
ExMenu1->Border = Exmenulib_tlb::BorderEnum::FlatBorder;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

45:
How can I change the visual appearance for an item, when the Appearance property is Button

ExMenu1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ExMenu1->Background[Exmenulib_tlb::BackgroundPartEnum::exButtonItem] = 0x1000000;
ExMenu1->Appearance = Exmenulib_tlb::AppearanceEnum::Button;
ExMenu1->Border = Exmenulib_tlb::BorderEnum::FlatBorder;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

44:
Can I change the visual appearance for separator items

ExMenu1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ExMenu1->Background[Exmenulib_tlb::BackgroundPartEnum::exSeparatorItem] = 0x1000000;
ExMenu1->Items->ToString = L"Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40])";

43:
Can I change the forecolor for the tooltip

ExMenu1->ToolTipDelay = 1;
ExMenu1->ToolTipWidth = 364;
ExMenu1->Background[Exmenulib_tlb::BackgroundPartEnum::exToolTipForeColor] = RGB(255,0,0);
ExMenu1->Items->ToString = L"ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])";
ExMenu1->Items->get_item(TVariant(10))->set_Tooltip(TVariant("Click the <b>ToolTip</b> and so the drop down menu will be shown"));
ExMenu1->Refresh();

42:
Can I change the background color for the tooltip

ExMenu1->ToolTipDelay = 1;
ExMenu1->ToolTipWidth = 364;
ExMenu1->Background[Exmenulib_tlb::BackgroundPartEnum::exToolTipBackColor] = RGB(255,0,0);
ExMenu1->Items->ToString = L"ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])";
ExMenu1->Items->get_item(TVariant(10))->set_Tooltip(TVariant("Click the <b>ToolTip</b> and so the drop down menu will be shown"));
ExMenu1->Refresh();

41:
Can I change the default border of the tooltip, using your EBN files

ExMenu1->ToolTipDelay = 1;
ExMenu1->ToolTipWidth = 364;
ExMenu1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ExMenu1->Background[Exmenulib_tlb::BackgroundPartEnum::exToolTipAppearance] = 0x1000000;
ExMenu1->Items->ToString = L"ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])";
ExMenu1->Items->get_item(TVariant(10))->set_Tooltip(TVariant("Click the <b>ToolTip</b> and so the drop down menu will be shown"));
ExMenu1->Refresh();

40:
Can I change the font for the tooltip

ExMenu1->ToolTipDelay = 1;
/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		OLE Automation

	TypeLib: stdole2.tlb

	to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = ExMenu1->ToolTipFont;
	var_StdFont->Name = L"Tahoma";
	var_StdFont->Size = TVariant(long(14));
ExMenu1->ToolTipWidth = 400;
ExMenu1->Items->ToString = L"ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])";
ExMenu1->Items->get_item(TVariant(10))->set_Tooltip(TVariant("Click the <b>ToolTip</b> and so the drop down menu will be shown"));
ExMenu1->Refresh();

39:
I've seen that the width of the tooltip is variable. Can I make it larger

ExMenu1->ToolTipWidth = 328;
ExMenu1->Items->ToString = L"ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])";
ExMenu1->Items->get_item(TVariant(10))->set_Tooltip(TVariant("Click the <b>ToolTip</b> and so the drop down menu will open"));
ExMenu1->Refresh();

38:
How do I let the tooltip being displayed longer

ExMenu1->ToolTipPopDelay = 10000;
ExMenu1->Items->ToString = L"ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])";
ExMenu1->Items->get_item(TVariant(10))->set_Tooltip(TVariant("Click the <b>ToolTip</b> and so the drop down menu will opene"));
ExMenu1->Refresh();

37:
How do I disable showing the tooltip for all control

ExMenu1->ToolTipDelay = 0;
ExMenu1->Items->ToString = L"No-ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])";
ExMenu1->Items->get_item(TVariant(10))->set_Tooltip(TVariant("Click the <b>ToolTip</b> and so the drop down menu will opene"));
ExMenu1->Refresh();

36:
How do I show the tooltip quicker

ExMenu1->ToolTipDelay = 1;
ExMenu1->Items->ToString = L"ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])";
ExMenu1->Items->get_item(TVariant(10))->set_Tooltip(TVariant("Click the <b>ToolTip</b> and so the drop down menu will opene"));
ExMenu1->Refresh();

35:
How do I open the menu as user clicks the menu

ExMenu1->OpenOnClick = Exmenulib_tlb::OpenOnClickEnum::exAlwaysClick;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

34:
How do I open the menu as cursor hovers the menu bar

ExMenu1->OpenOnClick = Exmenulib_tlb::OpenOnClickEnum::exHoverMenuBar;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

33:
Can I make the menu partialy visible

ExMenu1->Visibility = 90;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

32:
How do I remove or clear the accelerator keys

ExMenu1->Debug = true;
ExMenu1->Items->ToString = TVariant(String("Item &1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem") +
" 2[id=80])");
ExMenu1->AddAcelerator(10,49,TVariant(false),TVariant(true),TVariant(false));

31:
How do I add or assign an accelerator key to an item

ExMenu1->Debug = true;
ExMenu1->Items->ToString = TVariant(String("Item &1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem") +
" 2[id=80])");
ExMenu1->AddAcelerator(10,49,TVariant(false),TVariant(true),TVariant(false));

28:
How do I put a picture on the center of the control

ExMenu1->Picture = (IPictureDisp*)(ExMenu1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ExMenu1->PictureDisplay = Exmenulib_tlb::PictureDisplayEnum::MiddleCenter;

27:
How do I resize/stretch a picture on the control's background
ExMenu1->Picture = (IPictureDisp*)(ExMenu1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ExMenu1->PictureDisplay = Exmenulib_tlb::PictureDisplayEnum::Stretch;

26:
How do I put a picture on the control's center right bottom side
ExMenu1->Picture = (IPictureDisp*)(ExMenu1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ExMenu1->PictureDisplay = Exmenulib_tlb::PictureDisplayEnum::LowerRight;

25:
How do I put a picture on the control's center left bottom side
ExMenu1->Picture = (IPictureDisp*)(ExMenu1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ExMenu1->PictureDisplay = Exmenulib_tlb::PictureDisplayEnum::LowerLeft;

24:
How do I put a picture on the control's center top side
ExMenu1->Picture = (IPictureDisp*)(ExMenu1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ExMenu1->PictureDisplay = Exmenulib_tlb::PictureDisplayEnum::UpperCenter;

23:
How do I put a picture on the control's right top corner
ExMenu1->Picture = (IPictureDisp*)(ExMenu1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ExMenu1->PictureDisplay = Exmenulib_tlb::PictureDisplayEnum::UpperRight;

22:
How do I put a picture on the control's left top corner
ExMenu1->Picture = (IPictureDisp*)(ExMenu1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ExMenu1->PictureDisplay = Exmenulib_tlb::PictureDisplayEnum::UpperLeft;

21:
How do I put a picture on the control's background
ExMenu1->Picture = (IPictureDisp*)(ExMenu1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));

20:
Is there any function to display the item's identifiers

ExMenu1->Debug = true;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

19:
How do I find an item giving its name

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->item[TVariant("Item 1")]->Bold = true;
ExMenu1->Refresh();

18:
How do I find an item giving its identifier

ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");
ExMenu1->item[TVariant(10)]->Bold = true;
ExMenu1->Refresh();

17:
How do I enable or disable the control

ExMenu1->Enabled = false;
ExMenu1->Items->Add(L"Item 1",TNoParam(),TNoParam());
ExMenu1->Refresh();

16:
How do I refresh the control
ExMenu1->Items->Add(L"Item 1",TNoParam(),TNoParam());
ExMenu1->Refresh();

15:
How do I change the color to highligth the selected item

ExMenu1->HighLightBorderColor = RGB(255,0,0);
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

14:
How do I change the drop down, popup menu foreground color

ExMenu1->PopupForeColor = RGB(255,0,0);
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

13:
How do I change the drop down, popup menu background color

ExMenu1->PopupBackColor = RGB(255,0,0);
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

12:
How do I change the control's shadow color

ExMenu1->ShadowColor = RGB(255,0,0);
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

11:
How do I place the control on vertical

ExMenu1->OpenMode = Exmenulib_tlb::OpenModeEnum::Horizontal;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

10:
How do I change the control's appearance
ExMenu1->Appearance = Exmenulib_tlb::AppearanceEnum::Button;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

9:
How do I change the control's appearance

ExMenu1->Appearance = Exmenulib_tlb::AppearanceEnum::Normal;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

8:
How do I change the visual appearance effect for the selected item, using EBN

ExMenu1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ExMenu1->SelBackColor = 0x1000000;
ExMenu1->SelForeColor = RGB(0,0,0);
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

7:
How do I change the colors for the selected item

ExMenu1->SelBackColor = RGB(0,0,0);
ExMenu1->SelForeColor = RGB(255,255,255);
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

6:
How do I change the control's foreground color

ExMenu1->ForeColor = RGB(255,0,0);
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

5:
How do I change the control's background color

ExMenu1->BackColor = RGB(200,200,200);

4:
How can I change the control's font

ExMenu1->Font->Name = L"Tahoma";
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

3:
How do I change the drop down menu's border

ExMenu1->Border = Exmenulib_tlb::BorderEnum::FlatBorder;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

2:
How do I change the control's border, using your EBN files

ExMenu1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ExMenu1->MenuBarBorder = Exmenulib_tlb::BorderEnum(0x1000000);
ExMenu1->Border = Exmenulib_tlb::BorderEnum(0x1000000);
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");

1:
How do I change the control's border

ExMenu1->MenuBarBorder = Exmenulib_tlb::BorderEnum::FlatBorder;
ExMenu1->Items->ToString = TVariant(String("Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem ") +
"2[id=80])");