30+
years serving the scientific and engineering community
Log In
Buy Now
Try Origin for Free
Watch Videos
English
日本語
Deutsch
Toggle navigation
Products
PRODUCTS
Origin
OriginPro
Origin Viewer
All products
Origin vs. OriginPro
What's new in latest version
Product literature
SHOWCASE
Applications
User Case Studies
Video Tutorials
Graph Gallery
Animation Gallery
3D Function Gallery
FEATURES
2D&3D Graphing
Peak Analysis
Curve Fitting
Statistics
Signal Processing
Key features by version
LICENSING OPTIONS
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Who's using Origin
What users are saying
Published product reviews
Online Store
Get a quote/Ordering
Find a distributor
Apps
Data Import
CSV Connector
Excel Connector
HTML Connector
HDF Connector
NetCDF Connector
Import NMR Data
Import PDF Tables
Google Map Import
Import Shapefile
More...
Graphing
Graph Maker
Correlation Plot
Paired Comparison Plot
Venn Diagram
Taylor Diagram
Volcano Plot
Kernel Density Plot
Chromaticity Diagram
Heatmap with Dendrogram
More...
Publishing
Graph Publisher
Send Graphs to PowerPoint
Send Graphs to Word
Send Graphs to PDF
Send Graphs to OneNote
Movie Creator
Graph Anim
More...
Curve Fitting
Simple Fit
Speedy Fit
Piecewise Fit
Fit ODE
Fit Convolution
Rank Models
Fitting Function Library
Neural Network Regression
Polynomial Surface fit
Global Fit with Multiple Functions
More...
Peak Analysis
Simple Spectroscopy
Peak Deconvolution
Pulse Integration
Align Peaks
Global Peak Fit
PCA for Spectroscopy
2D Peak Analysis
Gel Molecular Weight Analyzer
More...
Statistics
SPC
DOE
Stats Advisor
PCA
RDA
Bootstrap Sampling
Time Series Analysis
Factor Analysis
General Linear Regression
Logistic Regression
SVM Classification
More...
How do Apps work in Origin?
Suggest a New App
Purchase
New Orders
Renew Maintenance
Upgrade Origin
Contact Sales(US & Canada only)
Find a Distributor
Licensing Options
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Purchasing FAQ
Support
SERVICES
Transfer Origin to new PC
License/Register Origin
Consulting
Training
Renew Maintenance
SUPPORT
Support FAQ
Help Center
Contact Support
Support Policy
DOWNLOADS
Service Releases
Origin Viewer
Orglab Module
Product Literature
Origin Trial
All downloads
VIDEOS
Installation and Licensing
Introduction to Origin
All video tutorials
DOCUMENTATION
User Guide
Tutorials
Python Programming
OriginC Programming
LabTalk Programming
All documentation
Communities
User Forum
User File Exchange
About Us
OriginLab Corp.
News & Events
Careers
Distributors
Contact Us
Contact Us
Log In
Origin C Reference
>
Enum
>
User Interface Controls
>
GetN
All Books
Non-Programming Books
User Guide
Tutorials
Quick Help
Origin Help
Programming Books
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
2.3.1 GetN
GetN-OriginC
Contents
1
Name
2
Remark
3
Hierarchy
4
Examples
5
Header to Include
6
Reference
6.1
Construct GetN Tree
6.2
Property of GetN Tree
6.3
Edit Box
6.4
Properties of Edit Box
6.5
Properties of Multiline Edit
6.6
List Box
6.7
Properties of List Box
6.8
Other Common Box
6.9
Properties of Common Box
6.10
Data and Time
6.11
Properties of Data and Time
6.12
Data Range Box
6.13
Properties of Data Range Box
6.14
Properties of Static Labels
6.15
Branch
6.16
Properties of Branch
6.17
Accessing GetN Node
6.18
Event Function
6.19
Adding Custom Button on Dialog
Name
GetN
Remark
Hierarchy
Examples
See
GetNBox
Header to Include
GetNBox.h
Reference
Construct GetN Tree
Name
Brief
Example
GETN_BOX
Construct a base GetNbox tree.
Examples
GETN_CURVE_OPERATION
constructs a base GetNbox tree with advanced option and curve show.
Examples
GETN_OPERATION
constructs a base GetNbox tree with theme controls.
Examples
GETN_TREE
Construct a base GetNbox tree.
Examples
GETN_USE
Reuse an already existed treenode.
Examples
Property of GetN Tree
Name
Brief
Example
GETN_OPTION_MANUAL_RESIZE
Allow manual resize dialog.
Examples
GETN_HELP
Open specified help file.
Examples
GETN_HELP_PATH
Opening specific page of CHM help file
Examples
GETN_HELP_MAPID
Opening specific page of CHM help file by ID.
Examples
GETN_NO_HELP
Set 0 to Help ID.
Examples
GETN_OPTION_EDIT_ALIGN
Set Edit Column Alignments for CheckBox/Numbers/Strings.
Examples
Edit Box
Name
Brief
Example
GETN_NUM
Create a numeric edit box.
Examples
GETN_STR
Create an edit box.
Examples
GETN_MULTILINE_TEXT
Create a multi-line text edit box.
Examples
GETN_MULTILINE_SYNTAX_TEXT
Create a multi-line syntax edit box.
Examples
GETN_PAD
Create a dummy variable.
Examples
Properties of Edit Box
Name
Brief
Example
GETN_OPTION_NUM_FORMAT
Custom the showing numeric type.
Examples
GETN_EDITOR_SIZE_USER_OPTION
Custom the size of edit box.
Examples
GETN_INFO
Indicate a statis control for info display.
Examples
GETN_HINT
Set label of the control as read only style.
Examples
GETN_HINT_EX
Set label of the control as read only style.
Examples
GETN_HINT_LINK_TARGET
Set the link text in the hint
Examples
GETN_HINT_WRAPOPTIONS
Set hint text with wrap option bold option
Examples
GETN_READ_ONLY
Set the box as read only style.
Examples
GETN_READ_ONLY_COLOR
Set as read only with color.
Examples
GETN_READ_ONLY_EX
Set as read only or editable state.
Examples
Properties of Multiline Edit
Name
Brief
Example
GETN_OPTION_MUTILINE_TEXT_BOX
Enable multiline text control to collapse and expand with user settings
Examples
GETN_MUTILINE_EDIT_ROLLUP_BUTTON
Make changing the control window more convenient.
Examples
GETN_EDIT_DISPLAY_WIDTH_RANGE
Set multiline line edit show range.
Examples
GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE
Set multiline line edit show range.
Examples
GETN_SYNTAXEDIT_LEXER_TYPE
Set multiline syntax edit box's lexer type.
Examples
List Box
Name
Brief
Example
GETN_COMBO
Create a combo control containing numeric values.
Examples
GETN_COMBO_BUTTON
Allow user to pick different kind of string to fill into an editable combo box.
Examples
GETN_COMBO_REFRESH_BUTTON
Combo control with a refresh button that will call your event handler so you can update the combo entries.
Examples
GETN_LIST
Create a string combo list.
Examples
GETN_LISTBOX
Create a list box.
Examples
GETN_STRLIST
Create a string combo list.
Examples
GETN_STR_GROUP
Allow multiple selection in the combo list.
Examples
GETN_MULTISEL_LISTBOX
Allow multiple selection from the listbox.
Examples
GETN_MULTISEL_STR_LISTBOX
Allow multiple selection from the string listbox.
Examples
Properties of List Box
Name
Brief
Example
GETN_ADD_INT_MAP
Setup the int type value for the relative string in string list.
Examples
GETN_STR_COMBO
Set the combo attribute of the current node
Examples
Other Common Box
Name
Brief
Example
GETN_BUTTON_GROUP
Create one or multiple buttons.
Examples
GETN_BUTTON
Create a button with a string edit box.
Examples
GETN_CHECK
Create a checkbox control.
Examples
GETN_COLOR
Create a color combo list(system palette).
Examples
GETN_FONT
Create a font combo list.
Examples
GETN_GAP
Generate a gap in dynamic control.
Examples
GETN_PASSWORD
Create a password.
Examples
GETN_PICTURE
Create a picture holder.
Examples
GETN_RADIO_INDEX
Create a group of radios.
Examples
GETN_RADIO_INDEX_EX
Create a group of radios.
Examples
GETN_SEPARATOR_LINE
Generate a separator in dynamic control.
Examples
GETN_SLIDER
Create a numeric slide box.
Examples
GETN_SLIDEREDIT
Create a numeric slider with edit box.
Examples
GETN_SPINNOR_DOUBLE
Construct a spinner on dynamic control.
Examples
GETN_SYMBOL
Create a symbol list control.
Examples
Properties of Common Box
Name
Brief
Example
GETN_ID
Set GetN control's DataID.
Examples
TREE_ADD_LABEL
Set GetN control's label.
Examples
GETN_ADD_AUTO
Add an auto check box.
Examples
GETN_CONTROL_OPTION_BOX
Enable or disable status of a control.
Examples
GETN_COLOR_CHOICE_OPTIONS
Only for GETN_COLOR.
Examples
GETN_ADDITIONAL_TAB
Justify controls.
Examples
GETN_ADD_LEFT_CHECK
Add a checkbox control on the left side of a TreeNode.
Examples
GETN_ADD_LEFT_CHECK_TYPE
options for GETN_ADD_LEFT_CHECK
Examples
SET_AUTO_VALUE
show empty value when auto check box is checked
Examples
Data and Time
Name
Brief
Example
GETN_DATE
Create a date picker edit box.
Examples
GETN_TIME
Create a time picker edit box.
Examples
Properties of Data and Time
Name
Brief
Example
GETN_DATETIME_CUSTOM_FORMAT
Custom format of date/time picker edit box.
Examples
Data Range Box
Name
Brief
Example
GETN_RANGE
Create a range edit box.
Examples
GETN_XYRANGE
Allow user to select XYRange as data.
Examples
GETN_XYRANGE_COMPLEX
Allow user to select XYRangeComplex as data.
Examples
GETN_XYZRANGE
Allow user to select XYZRange as data.
Examples
GETN_INTERACTIVE
Create a column/range selecting option.
Examples
Properties of Data Range Box
Name
Brief
Example
GETN_OPTION_INTERACTIVE_CONTROL
To setup the properties for data range controls.
Examples
Properties of Static Labels
Name
Brief
Example
GETN_OPTION_COLOR_BACKGROUND
Set the label background color.
Examples
GETN_OPTION_COLOR_LABEL
Set the label color.
Examples
GETN_OPTION_COLOR_READONLY
Change default read only text's color.
Examples
GETN_OPTION_COLOR_READONLY_BRANCH
Change the read only text's color for the whole branch.
Examples
Branch
Name
Brief
Example
GETN_BEGIN_BRANCH
Create a tree subbranch in the dialogbox.
Examples
GETN_END_BRANCH
Match with GETN_BEGIN_BRANCH.
Examples
GETN_BEGIN_GROUP
Group a set of controls.
Examples
GETN_END_GROUP
Match with GETN_BEGIN_GROUP.
Examples
GETN_BEGIN_USE_BRANCH
Reuse an already exist branch treenode.
Examples
GETN_END_USE_BRANCH
Match with GETN_BEGIN_USE_BRANCH.
Examples
Properties of Branch
Name
Brief
Example
GETN_BRANCH_OPTION_BOX
Change to enable status of a branch
Examples
GETN_BUTTON_BRANCH
Add a button to a branch.
Examples
GETN_CHECKBOX_BRANCH
Add a check box to a branch node.
Examples
GETN_COMBO_BRANCH
Adding a combo box to a branch node.
Examples
GETN_ID_BRANCH
Set the branch DataID.
Examples
GETN_ID_REPEAT_BRANCH
Use same DataID in node of different branch.
Examples
GETN_MULTI_COLS_BRANCH
Allow multiple controls in one row.
Examples
GETN_OPTION_BRANCH
Add options to the branch.
Examples
GETN_OPTION_GROUP_BRANCH
Add group options to the branch.
Examples
SET_BRANCH_AS_GROUP_BOX
Set the branch as a group box.
Examples
Accessing GetN Node
Name
Brief
Example
GETN_CURRENT_NODE
Parent of the current node.
Examples
GETN_CURRENT_SUBNODE
The current node.
Examples
GETN_USE_CURR
Reuse an already created treenode.
Examples
Event Function
Name
Brief
Example
GETN_OPTION_EVENT
Add event handler at row level.
Examples
GETN_OPTION_EVENT_EX
Add event handler at both row and column level.
Examples
GETN_SET_EVENT_EX_HANDLER
Set treenode event handler.
Examples
Adding Custom Button on Dialog
Name
Brief
Example
GETN_CUSTOM_BUTTON
Add Custom Button on GetN Dialog.
Examples
Skip Navigation Links
All Books
Origin C
Origin C Reference
Macros
GetN
User Guide
Tutorials
Quick Help
Origin Help
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
Programming
Origin C Programming Guide
Origin C Reference
Examples
Origin Developer Kit
Build Dialogs using HTML and JavaScript
Global Functions
Classes
Macros
Typedef
Struct
Enum
GetN
ERROR_TITLE
FORCE_DELETE_LOOSE_DATASET_WITH_GRAPH
GetComputerName
GetLowerIndex
GetUpperIndex
Im
INTVEC
LPCTSTR
OCOLOR
OVector
Re
REALVEC
SET_BRANCH_CTRL_ATTRIBUTES
SET_EDITBOX_RESIZABLE
SetLowerIndex
SetUpperIndex
STR_CURRENT_SHARE_STATE_ATTRIB
STR_GUI_THEME_FILE_ATTRIB
GETN_ADDITIONAL_TAB
GETN_ADD_AUTO
GETN_ADD_INT_MAP
GETN_ADD_LEFT_CHECK
GETN_ADD_LEFT_CHECK_TYPE
GETN_BEGIN_BRANCH
GETN_BEGIN_GROUP
GETN_BEGIN_USE_BRANCH
GETN_BOX
GETN_BRANCH_OPTION_BOX
GETN_BUTTON
GETN_BUTTON_BRANCH
GETN_BUTTON_GROUP
GETN_CHECK
GETN_CHECKBOX_BRANCH
GETN_COLOR
GETN_COLORLIST
GETN_COLOR_CHOICE_OPTIONS
GETN_COMBO
GETN_COMBO_BRANCH
GETN_COMBO_BUTTON
GETN_COMBO_REFRESH_BUTTON
GETN_CONTROL_OPTION_BOX
GETN_CURRENT_NODE
GETN_CURRENT_SUBNODE
GETN_CURVE_OPERATION
GETN_CUSTOM_BUTTON
GETN_DATE
GETN_DATETIME_CUSTOM_FORMAT
GETN_EDITOR_SIZE_USER_OPTION
GETN_EDIT_DISPLAY_WIDTH_RANGE
GETN_END_BRANCH
GETN_END_GROUP
GETN_END_USE_BRANCH
GETN_FONT
GETN_HINT
GETN_HINT_EX
GETN_HINT_LINK_TARGET
GETN_HINT_WRAPOPTIONS
GETN_ID
GETN_ID_BRANCH
GETN_ID_REPEAT_BRANCH
GETN_INFO
GETN_INTERACTIVE
GETN_LIST
GETN_LISTBOX
GETN_MULTILINE_EDIT_DISPLAY_ROW_HEIGHT_RANGE
GETN_MULTILINE_SYNTAX_TEXT
GETN_MULTILINE_TEXT
GETN_MULTISEL_LISTBOX
GETN_MULTISEL_STR_LISTBOX
GETN_MULTI_COLS_BRANCH
GETN_MUTILINE_EDIT_ROLLUP_BUTTON
GETN_NO_HELP
GETN_NUM
GETN_OPERATION
GETN_OPTION_INTERACTIVE_CONTROL
GETN_OPTION_BRANCH
GETN_OPTION_COLOR_BACKGROUND
GETN_OPTION_COLOR_LABEL
GETN_OPTION_COLOR_READONLY
GETN_OPTION_COLOR_READONLY_BRANCH
GETN_OPTION_EDIT_ALIGN
GETN_OPTION_EVENT
GETN_OPTION_EVENT_EX
GETN_OPTION_GROUP_BRANCH
GETN_HELP
GETN_HELP_MAPID
GETN_HELP_PATH
GETN_OPTION_MANUAL_RESIZE
GETN_OPTION_MUTILINE_TEXT_BOX
GETN_OPTION_NUM_FORMAT
GETN_PAD
GETN_PASSWORD
GETN_PICTURE
GETN_RADIO_INDEX
GETN_RADIO_INDEX_EX
GETN_RANGE
GETN_READ_ONLY
GETN_READ_ONLY_COLOR
GETN_READ_ONLY_EX
GETN_GAP
GETN_SEPARATOR_LINE
GETN_SET_EVENT_EX_HANDLER
GETN_SLIDER
GETN_SLIDEREDIT
GETN_SPINNOR_DOUBLE
GETN_STR
GETN_STRLIST
GETN_STR_COMBO
GETN_STR_GROUP
GETN_SYMBOL
GETN_SYNTAXEDIT_LEXER_TYPE
GETN_TIME
GETN_TREE
GETN_USE
GETN_USE_CURR
GETN_XYRANGE
GETN_XYRANGE_COMPLEX
GETN_XYZRANGE
SET_AUTO_VALUE
SET_BRANCH_AS_GROUP_BOX
TREE_ADD_LABEL
English
|
Deutsch
|
日本語
© OriginLab Corporation. All rights reserved.
×
☐
_
Let's Chat