ListView.SetBackgroundImage Method | |
Set an image as the background to the list view.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
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