LDialogColor::SetGrayScaleParams

#include "ltwrappr.h"

L_INT LDialogColor::SetGrayScaleParams(pGrayscaleDlgParam)

LPGRAYSCALEDLGPARAMS pGrayscaleDlgParam;

pointer to a structure

Sets the parameters to be displayed by the LDialogColor::DoModalGrayScale function when the dialog first appears.

Parameter

Description

pGrayscaleDlgParam

Pointer to a GRAYSCALEDLGPARAMS structure that contains the parameters to be displayed by the LDialogColor::DoModalGrayScale 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

LTDLGCLR
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:

LDialogColor::DoModalGrayScale, Class Members

Topics:

Using Imaging Common Dialog

Example

For an example, refer to LDialogColor::DoModalGrayScale.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Common Dialog C++ Class Library Help