LbSetSel Macro

Microchip Graphics Library

Microchip Graphics Library
LbSetSel Macro
C
#define LbSetSel(pLb, pItem) \
    if(!(pItem->status & LB_STS_SELECTED)) \
        LbChangeSel((LISTBOX *)pLb, pItem);
Overview

This macro sets the selection status of an item to selected.

Input Parameters
Input Parameters 
Description 
pLb 
The pointer to the list box object. 
pItem 
The pointer to the item the selection status will be set. 
Returns

none

Preconditions

none

Side Effects

none

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved