#include "lvdlg.h"
L_LVDLG_API L_INT L_VecDlgEditAllGroups(hWnd, pVector, dwFlags, pfnCallback, pUserData)
Brings up the Vector Edit Groups dialog. This function is available in the LEADTOOLS Vector Imaging Pro Toolkit.
Handle of the window that owns the dialog.
Pointer to the vector handle that references the vector image to be affected by this dialog.
Flag that determines whether to enable the Help button. Possible values are:
Value | Meaning |
---|---|
VECTOR_DLG_ENABLE_HELPBUTTON | [0x00000002] Enable Help button. |
Pointer to an optional help callback function.
If you do not wish to provide help to this dialog, use NULL as the value of this parameter. To provide help to this dialog, use the function pointer as the value of this parameter. The callback function must adhere to the prototype described in LVCOMMDLGHELPCB.
Void pointer that you can use to pass one or more additional parameters that the callback function needs.
To use this feature, assign a value to a variable or create a structure that contains as many fields as you need. Then, in this parameter, pass the address of the variable or structure, casting it to L_VOID *. The callback function, which receives the address in its own pUserData parameter, can cast it to a pointer of the appropriate data type to access your variable or structure. If the additional parameters are not needed, you can pass NULL in this parameter.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
This example will run the common edit groups options dialog.
L_INT VecDlgEditAllGroupsExample(
HWND hWnd,
pVECTORHANDLE pVector)
{
L_INT nRet;
nRet = L_VecDlgEditAllGroups(
hWnd,
pVector,
0L,
NULL,
NULL);
return nRet;
}