ListView.SetBackgroundImage Method (Typed) | |
Set an image as the background to the list view.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD SetBackgroundImage(
uImage,
dwFlags,
xOffSet,
yOffSet
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual SetBackgroundImage(
Usual uImage = default,
Usual dwFlags = default,
Usual xOffSet = default,
Usual yOffSet = default
)
Request Example
View SourceParameters
- uImage (Optional)
- Type: Usual
The image to use as the background in one of the following four types.
Object A BitMap object
PTR An image handle
String A URL or filename as a string
NIL If you want to remove the background
- dwFlags (Optional)
- Type: Usual
Flags that can be set to create the required style. More than one style can be used by combining them with _Or()
_Or( LVBKIF_SOURCE_HBITMAP, LVBKIF_STYLE_TILE )
_Or( LVBKIF_SOURCE_URL, LVBKIF_STYLE_TILE )
- xOffSet (Optional)
- Type: Usual
controls the x placement of the image. - yOffSet (Optional)
- Type: Usual
controls the y placement of the image.
Return Value
Type:
Usual
TRUE if successful; otherwise, FALSE.
Remarks Tip |
---|
The use of this method requires either the OLE library to be linked in or a call to CoInitialize().
If CoInitialize() is called it will also require a call to CoUnitialize() later.
|
See Also