Developer Area

root/apps/windows_mobile/trunk/Smartphone/DottelSP/TelnicMain/OptionList.h @ 21

Revision 21, 0.9 kB (checked in by root, 6 years ago)
Line 
1/*
2 * Copyright (c) 2007 Telnic. All rights reserved.
3 *
4 * Filename: OptionList.h
5 * Project:  .tel
6 * Created:  5/09/07
7 * Author:   Sunil Kumar
8 *
9 * Description:
10 * Implementation of the Option List custom list view class
11 */
12#pragma once
13
14
15// COptionList view
16
17class COptionList : public CListView
18{
19        DECLARE_DYNCREATE(COptionList)
20
21public:
22        COptionList();           // constructor
23        virtual ~COptionList();  // destructor
24
25public:
26#ifdef _DEBUG
27        virtual void AssertValid() const;
28#ifndef _WIN32_WCE
29        virtual void Dump(CDumpContext& dc) const;
30#endif
31#endif
32
33private:
34        HFONT           m_hFont;                //Hold the custom font
35public:
36        CString         *m_strItems;    //pointer to the array of CStrings to draw the list items
37
38protected:
39        DECLARE_MESSAGE_MAP()
40public:
41        afx_msg void MeasureItem( LPMEASUREITEMSTRUCT lpMeasureItemStruct);
42        virtual void DrawItem(LPDRAWITEMSTRUCT /*lpDrawItemStruct*/);
43};
44
45//End--
Note: See TracBrowser for help on using the browser.
Telnic
Search This Site
Partners
Neustar
ICANN
Main site | WHOIS | Sell .tel | FAQ | Archived Site | About Telnic | Contact Us