LbGetBitmap Macro

Microchip Graphics Library

Microchip Graphics Library
LbGetBitmap Macro
C
#define LbGetBitmap(pItem) ((LISTITEM *)pItem)->pBitmap
Overview

This macro returns the location of the currently used bitmap for the item.

Input Parameters
Input Parameters 
Description 
pItem 
Pointer to the list item. 
Returns

Returns the pointer to the current bitmap used.

Preconditions

none

Side Effects

none

Example
// Assume pLb is initialized to an existing list box
LISTITEM *pItem; 
void *pBitmap;

pItem = LbGetItemList(pLb); 
pBitmap = LbGetBitmap(pItem);
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved