2.3.1 GetN


Contents

Name

GetN

Remark

Hierarchy

Examples

See

Header to Include

GetNBox.h

Reference

Construct GetN Tree

Name Brief Example
Construct a base GetNbox tree.
constructs a base GetNbox tree with advanced option and curve show.
constructs a base GetNbox tree with theme controls.
Construct a base GetNbox tree.
Reuse an already existed treenode.

Property of GetN Tree

Name Brief Example
Allow manual resize dialog.
Open specified help file.
Opening specific page of CHM help file
Opening specific page of CHM help file by ID.
Set 0 to Help ID.
Set Edit Column Alignments for CheckBox/Numbers/Strings.

Edit Box

Name Brief Example
Create a numeric edit box.
Create an edit box.
Create a multi-line text edit box.
Create a multi-line syntax edit box.
Create a dummy variable.

Properties of Edit Box

Name Brief Example
Cuebanner of edit box.
Custom the showing numeric type.
Custom the size of edit box.
Indicate a statis control for info display.
Set label of the control as read only style.
Set label of the control as read only style.
Set the link text in the hint
Set hint text with wrap option bold option
Set the box as read only style.
Set as read only with color.
Set as read only or editable state.

Properties of Multiline Edit

Name Brief Example
Enable multiline text control to collapse and expand with user settings
Make changing the control window more convenient.
Set multiline line edit show range.
Set multiline line edit show range.
Set multiline syntax edit box's lexer type.

List Box

Name Brief Example
Create a combo control containing numeric values.
Allow user to pick different kind of string to fill into an editable combo box.
Combo control with a refresh button that will call your event handler so you can update the combo entries.
Create a string combo list.
Create a list box.
Create a string combo list.
Allow multiple selection in the combo list.
Allow multiple selection from the listbox.
Allow multiple selection from the string listbox.

Properties of List Box

Name Brief Example
Setup the int type value for the relative string in string list.
Set the combo attribute of the current node
Set the combo with hint

Other Common Box

Name Brief Example
Create one or multiple buttons.
Create a button with a string edit box.
Create a checkbox control.
Create a color combo list(system palette).
Create a font combo list.
Generate a gap in dynamic control.
Create a password.
Create a picture holder.
Create a group of radios.
Create a group of radios.
Generate a separator in dynamic control.
Create a numeric slide box.
Create a numeric slider with edit box.
Construct a spinner on dynamic control.
Create a symbol list control.

Properties of Common Box

Name Brief Example
Set GetN control's DataID.
Set GetN control's label.
Add an auto check box.
Enable or disable status of a control.
Only for GETN_COLOR.
Justify controls.
Add a checkbox control on the left side of a TreeNode.
options for GETN_ADD_LEFT_CHECK
show empty value when auto check box is checked

Data and Time

Name Brief Example
Create a date picker edit box.
Create a time picker edit box.

Properties of Data and Time

Name Brief Example
Custom format of date/time picker edit box.

Data Range Box

Name Brief Example
Create a range edit box.
Allow user to select XYRange as data.
Allow user to select XYRangeComplex as data.
Allow user to select XYZRange as data.
Create a column/range selecting option.

Properties of Data Range Box

Name Brief Example
To setup the properties for data range controls.

Properties of Static Labels

Name Brief Example
Set the label background color.
Set the label color.
Change default read only text's color.
Change the read only text's color for the whole branch.

Branch

Name Brief Example
Create a tree subbranch in the dialogbox.
Match with GETN_BEGIN_BRANCH.
Group a set of controls.
Match with GETN_BEGIN_GROUP.
Reuse an already exist branch treenode.
Match with GETN_BEGIN_USE_BRANCH.

Properties of Branch

Name Brief Example
Change to enable status of a branch
Add a button to a branch.
Add a check box to a branch node.
Adding a combo box to a branch node.
Set the branch DataID.
Use same DataID in node of different branch.
Allow multiple controls in one row.
Add options to the branch.
Add group options to the branch.
Set the branch as a group box.

Accessing GetN Node

Name Brief Example
Parent of the current node.
The current node.
Reuse an already created treenode.

Event Function

Name Brief Example
Add event handler at row level.
Add event handler at both row and column level.
Set treenode event handler.

Adding Custom Button on Dialog

Name Brief Example
Add Custom Button on GetN Dialog.