root/trunk/FindMatchesCtrl.cpp

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

Initial ( and last :( ) commit

Line 
1 // FindMatchesCtrl.cpp : implementation file
2 //
3
4 #include "stdafx.h"
5 #include "Elephant.h"
6 #include "FindMatchesCtrl.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 // CFindMatchesCtrl
16
17 CFindMatchesCtrl::CFindMatchesCtrl()
18 {
19 }
20
21 CFindMatchesCtrl::~CFindMatchesCtrl()
22 {
23 }
24
25
26 BEGIN_MESSAGE_MAP(CFindMatchesCtrl, CListCtrl)
27     //{{AFX_MSG_MAP(CFindMatchesCtrl)
28     ON_WM_RBUTTONDOWN()
29     //}}AFX_MSG_MAP
30 END_MESSAGE_MAP()
31
32 /////////////////////////////////////////////////////////////////////////////
33 // CFindMatchesCtrl message handlers
34
35 void CFindMatchesCtrl::OnRButtonDown(UINT nFlags, CPoint point)
36 {
37     LoadAndShowMenu(IDR_FIND_MATCHES_MENU,point,this );
38    
39     CListCtrl::OnRButtonDown(nFlags, point);
40 }
Note: See TracBrowser for help on using the browser.