X-Function Range
この例では、Range変数にListBoxコントロールを使用する方法を示します。
#include <..\OriginLab\wks_utils.h> // init_GetN_col_list_ctrls関数に必要
string str; if(collist) collist.GetRangeString(str, NTYPE_FOR_RANGE); out_str(str);
bool bIsStart = is_xf_startup(nGetNDialog, dwCntrl); if(bIsStart && (dwCntrl & LTXF_SHOW_DIALOG)) { init_GetN_col_list_ctrls(NULL, trGetN.collist); }