Click or drag to resize

ShowBitmap Function

X#
Display a bitmap in a window or control.

Namespace:  XSharp.VO
Assembly:  XSharp.VO (in XSharp.VO.dll) Version: 2.21
Syntax
 FUNCTION ShowBitmap(
	hWnd AS IntPtr,
	cFileName AS STRING,
	cTitle AS STRING
) AS LOGIC
Request Example View Source

Parameters

hWnd
Type: IntPtr
Handle of the window or control in which you want to display the bitmap.
cFileName
Type: String
The bitmap file to display.
cTitle
Type: String
Caption for the window or control.

Return Value

Type: Logic
TRUE if successful, otherwise FALSE.
Remarks
This function allows you to display a bitmap in a window or a control.
Examples