|
|
1.1 root 1: // This is a part of the Microsoft Foundation Classes C++ library.
2: // Copyright (C) 1992 Microsoft Corporation
3: // All rights reserved.
4: //
5: // This source code is only intended as a supplement to the
6: // Microsoft Foundation Classes Reference and Microsoft
7: // QuickHelp documentation provided with the library.
8: // See these sources for detailed information regarding the
9: // Microsoft Foundation Classes product.
10:
11:
12: #include "afxwin.h"
13: #pragma hdrstop
14: #include "afxpen.h"
15:
16: #ifdef AFX_CORE_SEG
17: #pragma code_seg(AFX_CORE_SEG)
18: #endif
19:
20: #ifdef _DEBUG
21: #undef THIS_FILE
22: static char BASED_CODE THIS_FILE[] = __FILE__;
23: #define new DEBUG_NEW
24: #endif
25:
26: /////////////////////////////////////////////////////////////////////////////
27: // CHEdit
28:
29: IMPLEMENT_DYNAMIC(CHEdit, CEdit)
30:
31: WNDPROC* CHEdit::GetSuperWndProcAddr()
32: {
33: static WNDPROC pfnSuper;
34: return &pfnSuper;
35: }
36:
37: BOOL CHEdit::Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID)
38: {
39: return CWnd::Create("HEDIT", NULL, dwStyle, rect, pParentWnd, nID);
40: }
41:
42: /////////////////////////////////////////////////////////////////////////////
43: // CBEdit
44:
45: IMPLEMENT_DYNAMIC(CBEdit, CHEdit)
46:
47: WNDPROC* CBEdit::GetSuperWndProcAddr()
48: {
49: static WNDPROC pfnSuper;
50: return &pfnSuper;
51: }
52:
53: BOOL CBEdit::Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID)
54: {
55: return CWnd::Create("BEDIT", NULL, dwStyle, rect, pParentWnd, nID);
56: }
57:
58: /////////////////////////////////////////////////////////////////////////////
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.