Functions
UpDownButtons Item

Functions

bool mdlDialog_upDnBtnsGetInfo (double *minValueP, double *maxValueP, double *incAmountP, bool *isVerticalP, RawItemHdr *udBtnsP)
 
Retrieves information

about an UpDownButtons dialog item. More...

 
bool mdlDialog_upDnBtnsSetInfo (double *minValueP, double *maxValueP, double *incAmountP, bool *isVerticalP, bool redraw, RawItemHdr *udBtnsP)
 Sets information on an UpDownButtons dialog item. More...
 
bool mdlDialog_upDnBtnsFocusIn (RawItemHdr *udBtnsP)
 Gives focus to an UpDownButtons dialog item. More...
 
bool mdlDialog_upDnBtnsFocusOut (RawItemHdr *udBtnsP)
 Focuses out of an UpDownButtons dialog item. More...
 
bool mdlDialog_upDnBtnsSetRange (RawItemHdr *udBtnsP, double minValue, double maxValue, double incAmount)
 Sets the range information associated with an UpDownButtons dialog item. More...
 

Detailed Description

Function Documentation

bool mdlDialog_upDnBtnsFocusIn ( RawItemHdr udBtnsP)

Gives focus to an UpDownButtons dialog item.

Parameters
[in]udBtnsPUpDownButtons dialog item to give focus to
Returns
SUCCESS, or true if an error occurs.
See also
mdlDialog_upDnBtnsFocusOut
Remarks
Required Library: mdlbltin.lib
bool mdlDialog_upDnBtnsFocusOut ( RawItemHdr udBtnsP)

Focuses out of an UpDownButtons dialog item.

Parameters
[in]udBtnsPUpDownButtons dialog item to focus out of
Returns
SUCCESS, or true if an error occurs.
See also
mdlDialog_upDnBtnsFocusIn
Remarks
Required Library: mdlbltin.lib
bool mdlDialog_upDnBtnsGetInfo ( double *  minValueP,
double *  maxValueP,
double *  incAmountP,
bool *  isVerticalP,
RawItemHdr udBtnsP 
)

Retrieves information

about an UpDownButtons dialog item.

Parameters
[out]minValuePis the minimum value for the dialog item. Pass NULL in this argument if you do not want this value returned.
[in,out]maxValuePis the maximum value for the dialog item. Pass NULL in this argument if you do not want this value returned.
[in,out]incAmountPis the amount by which the UpDownButtons value is incremented if the user clicks on the arrow button. Pass NULL in this argument if you do not want this value returned.
[in,out]isVerticalPis true if the UpDownButtons dialog item is positioned vertically. Pass NULL in this argument if you do not want this value returned.
[in]udBtnsPis the UpDownButtons dialog item about which information will be retrieved.
Returns
SUCCESS, or true if an error occurs.
See also
mdlDialog_upDnBtnsSetInfo
Remarks
Required Library: mdlbltin.lib
bool mdlDialog_upDnBtnsSetInfo ( double *  minValueP,
double *  maxValueP,
double *  incAmountP,
bool *  isVerticalP,
bool  redraw,
RawItemHdr udBtnsP 
)

Sets information on an UpDownButtons dialog item.

Parameters
[in]minValuePis the minimum value for the dialog item. Pass NULL in this argument if you do not want to set this value.
[in]maxValuePis the maximum value for the dialog item. Pass NULL in this argument if you do not want to set this value.
[in]incAmountPis the amount by which the UpDownButtons value is incremented if the user clicks on the arrow button. Pass NULL in this argument if you do not want to set this value.
[in]isVerticalPis true if the UpDownButtons item is to be positioned vertically. Pass NULL in this argument if you do not want to set this value.
[in]redrawset true to redraw after setting information
[in]udBtnsPis the UpDownButtons dialog item in which information will be set.
Returns
SUCCESS, or true if an error occurs.
See also
mdlDialog_upDnBtnsGetInfo
Remarks
Required Library: mdlbltin.lib
bool mdlDialog_upDnBtnsSetRange ( RawItemHdr udBtnsP,
double  minValue,
double  maxValue,
double  incAmount 
)

Sets the range information associated with an UpDownButtons dialog item.

Parameters
[in]udBtnsPUpDownButtons dialog item
[in]minValuemin value of the dialog item
[in]maxValuemax value of the dialog item
[in]incAmountis the amount by which the UpDownButtons value is incremented if the user clicks on the arrow button
Returns
SUCCESS, or true if an error occurs.
See also
mdlDialog_upDnBtnsSetInfo
Remarks
Required Library: mdlbltin.lib

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.