Constants

Previous  Next

 

' MyBASIC2_MaxGRIDX.bis - Includes for MaxGRIDX

 

CONST MG_Control              = 0

CONST MG_None                 = 0

CONST MG_Invalid              = 3.402823466e38

 

CONST MG_Font_Bold            = 700

CONST MG_Font_Normal          = 400

 

' Entire Column or Row

CONST MG_COL_ALL              = -1

CONST MG_ROW_ALL              = -1

CONST MG_ALL                  = -1

 

' Cell Types

CONST MG_CELL_NOTYPE          = -1

CONST MG_CELL_DEFAULT         = 0

CONST MG_CELL_STRING          = 1

CONST MG_CELL_INTEGER         = 2

CONST MG_CELL_REAL            = 3

 

' LoadFile Option Flags

CONST MG_OPT_None             = 0x00000000   ' No Options

CONST MG_OPT_Save_File        = 0x00000001   ' Return status from FireSaveFile

CONST MG_OPT_Template         = 0x00000001   ' Use Template

CONST MG_OPT_Keep_Open        = 0x00000002   ' Keep C3D File open

CONST MG_OPT_Use_Wizard       = 0x00000004   ' Use Import Wizard

CONST MG_OPT_Use_EnvVar       = 0x00000010   ' Use MyBASIC2 Environment

 

' Save File Formats Option Flags

CONST MG_OPT_SAVE_DEFAULT     = 0x00000000   ' Use File Type to determine Format

CONST MG_OPT_SAVE_C3D         = 0x00010000   ' Save as C3D

CONST MG_OPT_SAVE_ASCII       = 0x00020000   ' ASCII Files (TSV or CSV)

CONST MG_OPT_SAVE_MAXMATE     = 0x00030000   ' Innovision MaxMATE Format

CONST MG_OPT_SAVE_MAXDAQ      = 0x00040000   ' Innovision MaxDAQ ASCII Format

CONST MG_OPT_SAVE_6DOF        = 0x00050000   ' Qualisys 6DOF Format

CONST MG_OPT_SAVE_S6M         = 0x00060000   ' Surf 6 ASCII Format

 

' Format Options when Exporting

CONST MG_OPT_EXP_FRAMENO      = 0x00400000   ' Include Frame Numbers

CONST MG_OPT_EXP_TIMEOFFSET   = 0x00800000   ' Include Time Offset

CONST MG_OPT_EXP_LABELS       = 0x01000000   ' Include Labels

CONST MG_OPT_EXP_ANGLES       = 0x02000000   ' Export Angles

CONST MG_OPT_EXP_DISTANCES    = 0x04000000   ' Export Distances

CONST MG_OPT_EXP_6DOFMATRIX   = 0x08000000   ' Export 6DOF Matrix

CONST MG_OPT_EXP_RESIDUALS    = 0x10000000   ' Export 3D Residuals

CONST MG_OPT_EXP_MULTIFILE    = 0x20000000   ' Use multiple files when appropriate

 

' Auto Select Template

CONST MG_GT_AUTO_SELECT       = "<AutoSelect>"

 

' Get Grid Templates

CONST MG_GT_CURRENT           = -1  ' Return Current Template

CONST MG_GT_FOLDER            = -2  ' Return Current Template Folder

CONST MG_GT_REFRESH           = -3  ' Refresh Templates

 

' Row/Frame Tracking

CONST MG_TRACK_NONE           = 0x00000000

CONST MG_TRACK_ROW            = 0x00000001

CONST MG_TRACK_FRAME          = 0x00000002

 

' Get/Set Range Types

CONST MG_RANGE_DATA           = 1

CONST MG_RANGE_SELECTED       = 2

CONST MG_RANGE_NAMED          = 3

 

' Get Range Return Types

CONST MG_GET_MINROW           = 1

CONST MG_GET_MINCOL           = 2

CONST MG_GET_MAXROW           = 3

CONST MG_GET_MAXCOL           = 4

CONST MG_GET_ROWCOUNT         = 5

CONST MG_GET_COLCOUNT         = 6

 

' From GridCtrl - Grid line/scrollbar selection

CONST GVL_NONE                = 0   ' Neither

CONST GVL_HORZ                = 1   ' Horizontal line or scrollbar

CONST GVL_VERT                = 2   ' Vertical line or scrollbar

CONST GVL_BOTH                = 3   ' Both

 

' From GridCtrl - AutoSizing option

CONST GVS_DEFAULT             = 0

CONST GVS_HEADER              = 1   ' Size using column fixed cells data only

CONST GVS_DATA                = 2   ' Size using column non-fixed cells data only

CONST GVS_BOTH                = 3   ' Size using column fixed and non-fixed