-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathEditQuote.h
More file actions
49 lines (36 loc) · 1.6 KB
/
Copy pathEditQuote.h
File metadata and controls
49 lines (36 loc) · 1.6 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
//EditQuote.h : Declaration of the CEditQuote
//***************************************************************************//
// //
// This file was created using the CWindowImpl ATL Object Wizard //
// By Erik Thompson © 2000 //
// Version 1.1 //
// Email questions and comments to ErikT@RadBytes.com //
// //
//***************************************************************************//
#ifndef __EDITQUOTE_H_
#define __EDITQUOTE_H_
#include <commctrl.h>
const int WM_GETQUOTE = WM_USER + 1024;
class CStockBar;
/////////////////////////////////////////////////////////////////////////////
// CEditQuote
class CEditQuote : public CWindowImpl<CEditQuote>
{
public:
DECLARE_WND_SUPERCLASS(TEXT("EDITQUOTE"), TEXT("EDIT"))
BEGIN_MSG_MAP(CEditQuote)
COMMAND_CODE_HANDLER(EN_SETFOCUS, OnSetFocus)
END_MSG_MAP()
// Handler prototypes:
// LRESULT MessageHandler(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
// LRESULT CommandHandler(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
// LRESULT NotifyHandler(int idCtrl, LPNMHDR pnmh, BOOL& bHandled);
LRESULT OnSetFocus(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
CEditQuote();
virtual ~CEditQuote();
STDMETHOD(TranslateAcceleratorIO)(LPMSG lpMsg);
void SetBand(CStockBar* pBand);
private:
CStockBar* m_pBand;
};
#endif //__EDITQUOTE_H_