Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[r5083]: tags / V3_12 / PWListCtrl.h Maximize Restore History

Download this file

PWListCtrl.h    37 lines (29 with data), 866 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Copyright (c) 2003-2008 Rony Shapiro <ronys@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
#pragma once
class DboxMain;
class CPWListCtrl : public CListCtrl
{
public:
CPWListCtrl();
~CPWListCtrl();
void Initialize(CWnd *pWnd)
{m_pDbx = (DboxMain *)pWnd;}
LRESULT OnCharItemlist(WPARAM wParam, LPARAM lParam);
bool FindNext(const CString &cs_find, const int iSubItem);
protected:
//{{AFX_MSG(CPWListCtrl)
afx_msg void OnDestroy();
afx_msg void OnTimer(UINT_PTR nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
DboxMain *m_pDbx;
CString m_csFind;
UINT_PTR m_FindTimerID;
};