| 1 | // HotKeyListCtrl.cpp |
|---|
| 2 | // $Id$ |
|---|
| 3 | // |
|---|
| 4 | // Eraser. Secure data removal. For Windows. |
|---|
| 5 | // Copyright © 1997-2001 Sami Tolvanen (sami@tolvanen.com). |
|---|
| 6 | // Copyright © 2001-2006 Garrett Trant (support@heidi.ie). |
|---|
| 7 | // Copyright © 2007 The Eraser Project |
|---|
| 8 | // |
|---|
| 9 | // This program is free software; you can redistribute it and/or |
|---|
| 10 | // modify it under the terms of the GNU General Public License |
|---|
| 11 | // as published by the Free Software Foundation; either version 2 |
|---|
| 12 | // of the License, or (at your option) any later version. |
|---|
| 13 | // |
|---|
| 14 | // This program is distributed in the hope that it will be useful, |
|---|
| 15 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 16 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 17 | // GNU General Public License for more details. |
|---|
| 18 | // |
|---|
| 19 | // You should have received a copy of the GNU General Public License |
|---|
| 20 | // along with this program; if not, write to the Free Software |
|---|
| 21 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
|---|
| 22 | // 02111-1307, USA. |
|---|
| 23 | |
|---|
| 24 | #include "stdafx.h" |
|---|
| 25 | #include "Eraser.h" |
|---|
| 26 | #include "HotKeyListCtrl.h" |
|---|
| 27 | #include ".\hotkeylistctrl.h" |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | // CHotKeyListCtrl |
|---|
| 31 | |
|---|
| 32 | IMPLEMENT_DYNAMIC(CHotKeyListCtrl, CListCtrl) |
|---|
| 33 | CHotKeyListCtrl::CHotKeyListCtrl() |
|---|
| 34 | { |
|---|
| 35 | } |
|---|
| 36 | |
|---|
| 37 | CHotKeyListCtrl::~CHotKeyListCtrl() |
|---|
| 38 | { |
|---|
| 39 | } |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | BEGIN_MESSAGE_MAP(CHotKeyListCtrl, CListCtrl) |
|---|
| 43 | ON_NOTIFY_REFLECT(LVN_ITEMACTIVATE, OnLvnItemActivate) |
|---|
| 44 | END_MESSAGE_MAP() |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | // CHotKeyListCtrl message handlers |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | void CHotKeyListCtrl::OnLvnItemActivate(NMHDR *pNMHDR, LRESULT *pResult) |
|---|
| 52 | { |
|---|
| 53 | // TODO: Add your control notification handler code here |
|---|
| 54 | *pResult = 0; |
|---|
| 55 | } |
|---|