Functions | |
StatusInt | mdlDialog_spinBoxGetInfo (CommandNumber *commandNumberP, UInt32 *commandSourceP, int *maxSizeP, WChar *formatToDisplayP, WChar *formatToInternalP, double *minimumP, double *maximumP, double *incAmountP, UInt32 *maskP, UInt32 *attributesP, RawItemHdr *spinBP) |
Retrieves attributes of SpinBox items. More... | |
StatusInt | mdlDialog_spinBoxSetInfo (CommandNumber *commandNumberP, UInt32 *commandSourceP, int *maxSizeP, WCharCP formatToDisplayP, WCharCP formatToInternalP, double *minimumP, double *maximumP, double *incAmountP, UInt32 *maskP, UInt32 *attributesP, bool redraw, RawItemHdr *spinBP) |
Sets attributes in SpinBox items. More... | |
StatusInt mdlDialog_spinBoxGetInfo | ( | CommandNumber * | commandNumberP, |
UInt32 * | commandSourceP, | ||
int * | maxSizeP, | ||
WChar * | formatToDisplayP, | ||
WChar * | formatToInternalP, | ||
double * | minimumP, | ||
double * | maximumP, | ||
double * | incAmountP, | ||
UInt32 * | maskP, | ||
UInt32 * | attributesP, | ||
RawItemHdr * | spinBP | ||
) |
Retrieves attributes of SpinBox items.
For all of the pointer parameters, NULL indicates the field is not desired.
[out] | commandNumberP | set NULL if don't want cmd number |
[out] | commandSourceP | set NULL if don't want cmd source |
[out] | maxSizeP | points to a variable indicating the maximum allowable size of the text string that can be contained by the SpinBox item, up to 32K characters. |
[out] | formatToDisplayP | points to a sprintf format string to convert the value of the variable associated with the SpinBox item into a displayable string. |
[out] | formatToInternalP | points to a sscanf format string to convert from the SpinBox item's string value to the format expected by the variable associated with the SpinBox item. |
[out] | minimumP | points to a double that contains the minimum value of the SpinBox item. |
[out] | maximumP | points to a double that contains the maximum value of the SpinBox item. |
[out] | incAmountP | points to a double that contains the increment (and decrement) value. |
[out] | maskP | set NULL if don't want mask |
[out] | attributesP | points to an int that contains the SpinBox item's attributes. The bits that can be included are defined in dlogbox.r.h. |
[in] | spinBP | spinbox item to get indo on |
StatusInt mdlDialog_spinBoxSetInfo | ( | CommandNumber * | commandNumberP, |
UInt32 * | commandSourceP, | ||
int * | maxSizeP, | ||
WCharCP | formatToDisplayP, | ||
WCharCP | formatToInternalP, | ||
double * | minimumP, | ||
double * | maximumP, | ||
double * | incAmountP, | ||
UInt32 * | maskP, | ||
UInt32 * | attributesP, | ||
bool | redraw, | ||
RawItemHdr * | spinBP | ||
) |
Sets attributes in SpinBox items.
For all of the pointer parameters, NULL indicates the field should not be modified.
[in] | commandNumberP | set NULL if not setting cmd number |
[in] | commandSourceP | set NULL if not setting cmd source |
[in] | maxSizeP | points to a variable indicating the maximum allowable size of the text string that can be contained by the SpinBox item, up to 32K characters. |
[in] | formatToDisplayP | points to a sprintf format string to convert the value of the variable associated with the SpinBox item into a displayable string. |
[in] | formatToInternalP | points to a sscanf format string to convert from the SpinBox item's string value to the format expected by the variable associated with the SpinBox item. |
[in] | minimumP | points to a double that contains the minimum value of the SpinBox item. |
[in] | maximumP | points to a double that contains the maximum value of the SpinBox item. |
[out] | incAmountP | points to a double that contains the increment (and decrement) value. |
[in] | maskP | set NULL if not setting mask |
[in] | attributesP | points to an int that contains the SpinBox item's attributes. The bits that can be included are defined in dlogbox.r.h. |
[in] | redraw | is a boolean flag indicating whether mdlDialog_spinBoxSetInfo should cause the SpinBox to be redrawn after the information is modified. |
[in] | spinBP | SpinBox item to get info on |