Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Monday, July 28, 2003 8:15:35 AM(UTC)


Groups: Registered
Posts: 1

In the CsDem32 demo there is a call to L_ClrDlg which brings up the 'CMYK Color Settings' dialog box.  Does anyone know where I can find documentation on this dialog box?  Searching the FAQ does not bring up any information.


Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, May 5, 2005 1:11:29 PM(UTC)


Groups: Tech Support
Posts: 33

Thanks: 3 times

L_ClrDlg is documented in the Colorspace Conversion API helpfile (ltclrdlln.hlp):



#include "ltkrn.h"
#include "ltclr.h"

L_INT EXT_FUNCTION L_ClrDlg(nDlg, hWnd, pClrHandle, pPramas)

L_INT nDlg; /* dialog constant */
HANDLE hWnd; /* handle to the parent window */
HANDLE * pClrHandle; /* pointer to the output color handle */
LPCONVERSION_PARAMS pParams; /* pointer to the output conversion params */
Displays a color space dialog box to initialize, and creates a color handle and CONVERSION_PARAMS data.

Parameter Description
nDlg The color space dialog to display.  Possible values are:
 Value Meaning
 DLG_CMYK CMYK dialog.
 DLG_LAB LAB dialog.
hWnd Handle to parent window.
pClrHandle Pointer to color handle to be set by the dialog. Pass NULL if it is not needed.
pParams Pointer to a CONVERSION_PARAMS structure to be set by the dialog. Pass NULL if it is not needed.

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

This is another way of initializing the toolkit without using L_ClrInit. You can use it to retrieve a Color handle and/or a CONVERSION_PARAMS structure, for use later in initialization or modification by L_ClrSetConversionParams.

Required DLLs and Libraries

LTCLRFor 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: L_ClrInit
Topics: Conversion Process
 COLOR Function Groups


Ike Starnes
LEAD Technologies, Inc.

LEAD Technologies, Inc.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.177 seconds.