LISTBOX Structure

Microchip Graphics Library

Microchip Graphics Library
LISTBOX Structure
C
typedef struct {
  OBJ_HEADER hdr;
  LISTITEM * pItemList;
  LISTITEM * pFocusItem;
  WORD itemsNumber;
  SHORT scrollY;
  SHORT textHeight;
} LISTBOX;
Overview

Defines the parameters required for a list box Object.

Members
Members 
Description 
OBJ_HEADER hdr; 
Generic header for all Objects (see OBJ_HEADER). 
LISTITEM * pItemList; 
Pointer to the list of items. 
LISTITEM * pFocusItem; 
Pointer to the focused item. 
WORD itemsNumber; 
Number of items in the list box. 
SHORT scrollY; 
Scroll displacement for the list. 
SHORT textHeight; 
Pre-computed text height. 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved