PRINTSTITCHEDIMAGESDLGPARAMS

Summary

The PRINTSTITCHEDIMAGESDLGPARAMS structure provides information used to initialize the dialog box created by the LDialogImageEffect::DoModalStitch function. After the user closes the dialog box, this structure is updated with information about the user's selections.

Syntax

typedef struct _PRINTSTITCHEDIMAGESDLGPARAMS 
{ 
   L_UINT uStructSize; 
   HICON hWindowIcon; 
   LPDLGBITMAPLIST pBitmapList; 
   HGLOBAL hDevMode; 
   HGLOBAL hDevNames; 
   RECT rcMargins; 
   RECT rcMinMargins; 
   L_INT nCmdShow; 
   LPPOINT pptPosition; 
   LTCOMMDLGHELPCB pfnHelpCallback; 
   L_VOID  *pHelpCallBackUserData; 
} PRINTSTITCHEDIMAGESDLGPARAMS, * LPPRINTSTITCHEDIMAGESDLGPARAMS; 

Members

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

hWindowIcon

Handle to the icon to use for the print window's system menu. Pass NULL to use the default icon.

pBitmapList

Pointer to a DLGBITMAPLIST structure that is used to initialize the image picker in the dialog. The pszDescription member of the DLGBITMAPLIST structure will be used as a tool tip for each image in the image picker when the mouse hovers over it. And the szFileName member of the DLGBITMAPLIST structure is ignored.

hDevMode

Handle to a movable global memory object that contains a DEVMODE Microsoft Windows structure. For more information refer to Microsoft's SDK documentation.

If hDevMode is not NULL on input, you must allocate a movable block of memory for the DEVMODE structure and initialize its members.

If hDevMode is NULL on input, the dialog may allocate memory for the DEVMODE structure, initialize its members to indicate the user's input, and return a handle that identifies it. In this case you should free the handle using GlobalFree()when the dialog is closed.

This handle is used to set or preserve printing settings. Set this member to NULL to use the default printer settings.

hDevNames

Handle to a movable global memory object that contains a DEVNAMES Microsoft Windows structure. For more information refer to Microsoft's SDK documentation.

If hDevNames is not NULL on input, you must allocate a movable block of memory for the DEVNAMES structure and initialize its members.

If hDevNames is NULL on input, the dialog may allocate memory for the DEVNAMES structure, initialize its members to indicate the user's input, and return a handle that identifies it. In this case you should free the handle using GlobalFree() when the dialog is closed.

This structure contains three strings that specify the driver name, the printer name, and the output port name, which are used to set or preserve printer settings. Set this member to NULL to use the default printer settings.

rcMargins

Specifies the widths of the left, top, right, and bottom margins, in thousandths of an inch. For more information on the margins, refer to the Microsoft SDK documentation — Windows User Interface — PAGESETUPDLG.

rcMinMargins

Specifies the minimum allowable widths for the left, top, right, and bottom margins, in thousandths of an inch. These values must be less than or equal to the values specified in the rcMargins member. For more information on the margins, refer to the Microsoft SDK documentation — Windows User Interface — PAGESETUPDLG.

nCmdShow

Flag that indicates the display state of the preview window. This is the same flag passed to the ShowWindow windows C API function. Refer to the Microsoft SDK documentation — Windows User Interface — ShowWindow for more information.

pptPosition

Ignored.

pfnHelpCallback

Ignored.

pHelpCallBackUserData

Ignored.

Usage

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Common Dialog C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.