Developer Area

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

Revision 371, 2.3 kB (checked in by nadya, 5 years ago)

updating code, changing telfriends login points

Line 
1/*
2 * Copyright (c) 2008, Telnic Ltd.
3 * All rights reserved.
4 * Redistribution and use in source and binary forms, with or without modification,
5 * are permitted provided that the following conditions are met:
6 * • Redistributions of source code must retain the above copyright notice,
7 *   this list of conditions and the following disclaimer.
8 * • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
9 *   the following disclaimer in the documentation and/or other materials provided with the distribution.
10 * • Neither the name of the Telnic Ltd. nor the names of its contributors may be used to endorse or promote
11 *   products derived from this software without specific prior written permission.
12 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
13 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
14 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
15 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
16 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
17 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
18 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
19 * THE POSSIBILITY OF SUCH DAMAGE.
20 */
21/*
22 * Filename: OptionList.h
23 * Description:
24 * Implementation of the Option List custom list view class
25 */
26#pragma once
27
28
29// COptionList view
30
31class COptionList : public CListView
32{
33        DECLARE_DYNCREATE(COptionList)
34
35public:
36        COptionList();           // constructor
37        virtual ~COptionList();  // destructor
38
39public:
40#ifdef _DEBUG
41        virtual void AssertValid() const;
42#ifndef _WIN32_WCE
43        virtual void Dump(CDumpContext& dc) const;
44#endif
45#endif
46
47private:
48        HFONT           m_hFont;                //Hold the custom font
49public:
50        CString         *m_strItems;    //pointer to the array of CStrings to draw the list items
51
52protected:
53        DECLARE_MESSAGE_MAP()
54public:
55        afx_msg void MeasureItem( LPMEASUREITEMSTRUCT lpMeasureItemStruct);
56        virtual void DrawItem(LPDRAWITEMSTRUCT /*lpDrawItemStruct*/);
57};
58
59//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