InitDialogItem
The InitDialogItem structure defines one dialog item. This structure
is non-standard - it is the analogue of the FarDialogItem
structure. The only difference is the Data member.
Attention!
- The InitDialogItem structure is not a part of the standard API.
struct InitDialogItem { int Type; int X1; int Y1; int X2; int Y2; int Focus; DWORD_PTR Selected; unsigned int Flags; int DefaultButton; char *Data; };
Remarks
Use of the InitDialogItem structure instead of the FarDialogItem
structure is reasoned by the following:
The FarDialogItem.Data variable is large, that's why direct initalization of an array of FarDialogItem structures may significantly increase memory usage.
You can use the InitDialogItems function for translation of InitDialogItem structures to FarDialogItem structures .
The FarDialogItem.Data variable is large, that's why direct initalization of an array of FarDialogItem structures may significantly increase memory usage.
You can use the InitDialogItems function for translation of InitDialogItem structures to FarDialogItem structures .
See also: