Products | Support | Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Common Dialog C++ Class Library Help

LDialogEffect::SetGradientParams

Show in webframe

#include "ltwrappr.h"

L_INT LDialogEffect::SetGradientParams(pGradientDlgParam)

LPGRADIENTDLGPARAMS pGradientDlgParam;

/* pointer to a structure */

Sets the parameters to be displayed by the LDialogEffect::DoModalGetGradient function when the dialog first appears.

Parameter

Description

pGradientDlgParam

Pointer to a GRADIENTDLGPARAMS structure that contains the parameters to be displayed for the LDialogEffect::DoModalGetGradient function when the dialog first appears.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The parameters of the structure should be set before displaying the dialog.

Required DLLs and Libraries

LTDLGEFX
LTDLGFILE
LTDLGKRN
LTDLGUTL
LTDLGCTRL
LTDLGCOM
LTDIS
LTIMG

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, LDialogEffect::DoModalGetGradient

Topics:

Using Imaging Common Dialog

Example

For an example, refer to LDialogEffect::DoModalGetGradient.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.