IT_SCREEN 

Use

The IT_SCREEN structure provides information on the screen that is part of the event. It describes general attributes of the screen, such as its type and size.

The IT_SCREEN structure also points to an array of all the controls on the screen: one IT_CTRL structures for each control.

The parent structure, IT_EVENT, contains only one IT_SCREEN.

 

Syntax

typedef struct IT_SCREEN_t {
long iCtrlCnt;
PIT_CTRL pCtrl;
long iModal;
long flags;
unsigned short scr_row;
unsigned short scr_col;
unsigned short scr_XWid;
unsigned short scr_YWid;
unsigned char cur_row;
unsigned char cur_col;
unsigned char dimrow;
unsigned char dimcol;
unsigned char dimlistrow;
unsigned char dimlistcol;
unsigned char VSliderSize;
unsigned char HSliderSize;
unsigned short lmrows;
unsigned char lmcols;
unsigned short lsrow;
unsigned char lscol;
char szProgramName[MAX_PROGRAM_NAME]; // if EVT_DYNPRO_INFO
char szScreenName[MAX_SCREEN_NAME]; // if EVT_DYNPRO_INFO
} IT_SCREEN;

Members

iCtrlCnt

Number of controls in this screen.

pCtrl

Array of IT_CTRL structures.

iModal

Screen modal number. Identifies the screen.

flags

Screen attributes

scr_row

Starting row for modal dialog box; 0 if not modal.

scr_col

Starting column for modal dialog box; 0 if not modal.

scr_XWid

Number of columns in modal dialog box; 0 if not modal.

scr_YWid

Number of rows in modal dialog box; 0 if not modal.

cur_row

Row of cursor position. If changed, MES_SET_CUR_POS is to be turned on

cur_col

Column of cursor position. If changed, MES_SET_CUR_POS is to be turned on

dimrow

Dimension of dynpro rows. If changed, MES_SET_SIZE is to be turned on.

dimcol

Dimension of dynpro columns. If changed, MES_SET_SIZE is to be turned on.

dimlistrow

Dimension of list rows (currently write-only). If changed, MES_SET_SIZE is to be turned on.

dimlistcol

Dimension of list columns (currently write-only). If changed, MES_SET_SIZE is to be turned on.

VSliderSize

Number of step loop or list rows being shown on screen.

HSliderSize

Number of step loop or list columns being shown on screen.

lmrows

Total number of rows in step loop or list.

lmcols

Total number of columns in step loop or list.

lsrow

Starting row for step loop or list in current screen.

lscol

Starting column for step loop or list in current screen.

szProgramName

Name of program, available only when EVT_DYNPRO_INFO is on in the parent event structure.

szScreenName

Name of screen, available only when EVT_DYNPRO_INFO is on in the parent event structure.

Comments

This structure is valid only when EVT_SCREEN is turned on.

See also

IT_CTRL.