property StatusBar.PictureDisplay as PictureDisplayEnum
Retrieves or sets a value that indicates the way how the graphic is displayed on the control's background

TypeDescription
PictureDisplayEnum A PictureDisplayEnum expression that indicates the way how the picture is displayed
By default, the control has no picture associated. The control uses the PictureDisplay property to determine how the picture is displayed on the control's background. Use the Picture property to layout a picture on the control's background. Use the BackColor property to specify the control's background color. Use the Appearance property to change the visual appearance of the control's border. Use the BackColorPanels property to assign the same visual aspect for all panels in the status bar control.

The following VB sample shows "How do I put a picture on the control's left top corner":
With StatusBar1
	.BeginUpdate 
	.Picture = StatusBar1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	.PictureDisplay = UpperLeft
	.VisualAppearance.Add 4,"c:\exontrol\images\border.ebn"
	.VisualAppearance.Add 5,"CP:4 1 1 -1 -1"
	.BackColorPanels = 83886080
	.Format = "1,2,3,4,(5/6/7/8)"
	.Debug = True
	.EndUpdate 
End With
The following VB.NET sample shows "How do I put a picture on the control's left top corner":
With AxStatusBar1
	.BeginUpdate 
	.Picture = AxStatusBar1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	.PictureDisplay = EXSTATUSBARLib.PictureDisplayEnum.UpperLeft
	.VisualAppearance.Add 4,"c:\exontrol\images\border.ebn"
	.VisualAppearance.Add 5,"CP:4 1 1 -1 -1"
	.GetOcx().BackColorPanels = &H5000000
	.Format = "1,2,3,4,(5/6/7/8)"
	.Debug = True
	.EndUpdate 
End With
The following C++ sample shows "How do I put a picture on the control's left top corner":
/*
	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 "D:\\Exontrol\\ExStatusBar\\project\\Debug\\ExStatusBar.dll"
	using namespace EXSTATUSBARLib;
*/
EXSTATUSBARLib::IStatusBarPtr spStatusBar1 = GetDlgItem(IDC_STATUSBAR1)->GetControlUnknown();
spStatusBar1->BeginUpdate();
spStatusBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spStatusBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spStatusBar1->PutPictureDisplay(EXSTATUSBARLib::UpperLeft);
spStatusBar1->GetVisualAppearance()->Add(4,"c:\\exontrol\\images\\border.ebn");
spStatusBar1->GetVisualAppearance()->Add(5,"CP:4 1 1 -1 -1");
spStatusBar1->PutBackColorPanels(83886080);
spStatusBar1->PutFormat(L"1,2,3,4,(5/6/7/8)");
spStatusBar1->PutDebug(VARIANT_TRUE);
spStatusBar1->EndUpdate();
The following C# sample shows "How do I put a picture on the control's left top corner":
axStatusBar1.BeginUpdate();
(axStatusBar1.GetOcx() as EXSTATUSBARLib.StatusBar).Picture = (axStatusBar1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
axStatusBar1.PictureDisplay = EXSTATUSBARLib.PictureDisplayEnum.UpperLeft;
axStatusBar1.VisualAppearance.Add(4,"c:\\exontrol\\images\\border.ebn");
axStatusBar1.VisualAppearance.Add(5,"CP:4 1 1 -1 -1");
(axStatusBar1.GetOcx() as EXSTATUSBARLib.StatusBar).BackColorPanels = 0x5000000;
axStatusBar1.Format = "1,2,3,4,(5/6/7/8)";
axStatusBar1.Debug = true;
axStatusBar1.EndUpdate();
The following VFP sample shows "How do I put a picture on the control's left top corner":
with thisform.StatusBar1
	.BeginUpdate
	.Picture = thisform.StatusBar1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	.PictureDisplay = 0
	.VisualAppearance.Add(4,"c:\exontrol\images\border.ebn")
	.VisualAppearance.Add(5,"CP:4 1 1 -1 -1")
	.BackColorPanels = 83886080
	.Format = "1,2,3,4,(5/6/7/8)"
	.Debug = .T.
	.EndUpdate
endwith