Garmin Fleet Management Controller  2.19.0
CColoredListBox.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CColoredListBox.h
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CColoredListBox_H
11 #define CColoredListBox_H
12 
13 #include "stdafx.h"
14 
15 //----------------------------------------------------------------------
18 //----------------------------------------------------------------------
19 class CColoredListBox : public CListBox
20 {
21 public:
22  void DrawItem
23  (
24  LPDRAWITEMSTRUCT aDrawItem
25  );
26 
27  CString getSearchString() const;
28 
29  void setSearchString
30  (
31  CString aSearchString
32  );
33 
34 protected:
36  CString mSearchString;
37 
40 };
41 
42 #endif
void setSearchString(CString aSearchString)
Set the search string to use.
A CListBox that highlights list items matching a search string.
BOOL mHasSearchString
If true, a search string was specified.
CString mSearchString
The search string to match.
CString getSearchString() const
Get the search string being used.
void DrawItem(LPDRAWITEMSTRUCT aDrawItem)
Draw the list item specified by aDrawItem.