root/trunk/FindListCtrl.cpp

Revision 5, 0.8 kB (checked in by qbert, 6 years ago)

Initial ( and last :( ) commit

Line 
1 // FindListCtrl.cpp : implementation file
2 //
3
4 #include "stdafx.h"
5 #include "Elephant.h"
6 #include "FindListCtrl.h"
7
8 #ifdef _DEBUG
9 #define new DEBUG_NEW
10 #undef THIS_FILE
11 static char THIS_FILE[] = __FILE__;
12 #endif
13
14 /////////////////////////////////////////////////////////////////////////////
15 // CFindListCtrl
16
17 CFindListCtrl::CFindListCtrl()
18 {
19 }
20
21 CFindListCtrl::~CFindListCtrl()
22 {
23 }
24
25
26 BEGIN_MESSAGE_MAP(CFindListCtrl, CListCtrl)
27     //{{AFX_MSG_MAP(CFindListCtrl)
28     ON_WM_RBUTTONDOWN()
29     //}}AFX_MSG_MAP
30 END_MESSAGE_MAP()
31
32 /////////////////////////////////////////////////////////////////////////////
33 // CFindListCtrl message handlers
34
35 void CFindListCtrl::OnRButtonDown(UINT nFlags, CPoint point)
36 {
37    
38     LoadAndShowMenu(IDR_FIND_MENU, point, this);
39     this->SendMessage(WM_CLEAR) ;
40     //CListCtrl::OnRButtonDown(nFlags, point);
41 }
Note: See TracBrowser for help on using the browser.