property StatusBar.BackColorPanels as Color
Specifies a background color or a visual appearance applied to all panels in the status bar control.

TypeDescription
Color A Color expression that specifies the panels background color. The last 7 bits in the high significant byte of the color to indicates the identifier of the skin being used. Use the Add method to add new skins to the control. If you need to remove the skin appearance from a part of the control you need to reset the last 7 bits in the high significant byte of the color being applied to the background's part.
Use the BackColorPanels property to change the visual appearance of all panels in the status bar control, using EBN files. Use the BackColor property to assign a different visual appearance to a specified panel. Use the BackColor property to change the control's background color.

The following VB sample shows "How do I draw a border for all panels":

With StatusBar1
	.BeginUpdate 
	.VisualAppearance.Add 4,"c:\exontrol\images\border.ebn"
	.VisualAppearance.Add 5,"CP:4 2 2 -2 -2"
	.BackColorPanels = 83886080
	.Debug = True
	.Format = "(0/1:32),2,(3/4/5)"
	.EndUpdate 
End With
The following VB.NET sample shows "How do I draw a border for all panels":
With AxStatusBar1
	.BeginUpdate 
	.VisualAppearance.Add 4,"c:\exontrol\images\border.ebn"
	.VisualAppearance.Add 5,"CP:4 2 2 -2 -2"
	.GetOcx().BackColorPanels = &H5000000
	.Debug = True
	.Format = "(0/1:32),2,(3/4/5)"
	.EndUpdate 
End With
The following C++ sample shows "How do I draw a border for all panels":
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSTATUSBARLib' for the library: 'ExStatusBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExStatusBar.dll"
	using namespace EXSTATUSBARLib;
*/
EXSTATUSBARLib::IStatusBarPtr spStatusBar1 = GetDlgItem(IDC_STATUSBAR1)->GetControlUnknown();
spStatusBar1->BeginUpdate();
spStatusBar1->GetVisualAppearance()->Add(4,"c:\\exontrol\\images\\border.ebn");
spStatusBar1->GetVisualAppearance()->Add(5,"CP:4 2 2 -2 -2");
spStatusBar1->PutBackColorPanels(83886080);
spStatusBar1->PutDebug(VARIANT_TRUE);
spStatusBar1->PutFormat(L"(0/1:32),2,(3/4/5)");
spStatusBar1->EndUpdate();
The following C# sample shows "How do I draw a border for all panels":
axStatusBar1.BeginUpdate();
axStatusBar1.VisualAppearance.Add(4,"c:\\exontrol\\images\\border.ebn");
axStatusBar1.VisualAppearance.Add(5,"CP:4 2 2 -2 -2");
(axStatusBar1.GetOcx() as EXSTATUSBARLib.StatusBar).BackColorPanels = 0x5000000;
axStatusBar1.Debug = true;
axStatusBar1.Format = "(0/1:32),2,(3/4/5)";
axStatusBar1.EndUpdate();
The following VFP sample shows "How do I draw a border for all panels":
with thisform.StatusBar1
	.BeginUpdate
	.VisualAppearance.Add(4,"c:\exontrol\images\border.ebn")
	.VisualAppearance.Add(5,"CP:4 2 2 -2 -2")
	.BackColorPanels = 83886080
	.Debug = .T.
	.Format = "(0/1:32),2,(3/4/5)"
	.EndUpdate
endwith