LBitmapWindow::EnableDrawPattern

#include "ltwrappr.h"

L_BOOL LBitmapWindow::EnableDrawPattern(bEnable)

L_BOOL bEnable;

/* flag that indicates whether to enable pattern drawing */

Enables or disables pattern drawing.

Parameter

Description

bEnable

Flag that indicates whether to enable pattern drawing. Possible values are:

 

Value

Meaning

 

TRUE

Enable pattern drawing.

 

FALSE

Disable pattern drawing.

Returns

The previous state.

Comments

When drawing patterns is enabled, the control will draw a pattern into its client area using the current pattern parameters.

This setting is disabled by default.

Note: If both patterns and gradients are enabled, the drawing of gradients will override the drawing of patterns.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTISI
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

Class Members

Topics:

Implementing Special Effects

Example

For an example, refer to LBitmapWindow::SetROP3.