Annotation of mstools/mfc/samples/ctrltest/spin.cpp, revision 1.1.1.1

1.1       root        1: // spin.cpp: Spin control - C++ class wrapping "MicroScroll" control in a DLL
                      2: //
                      3: // This is a part of the Microsoft Foundation Classes C++ library.
                      4: // Copyright (C) 1992 Microsoft Corporation
                      5: // All rights reserved.
                      6: //
                      7: // This source code is only intended as a supplement to the
                      8: // Microsoft Foundation Classes Reference and Microsoft
                      9: // QuickHelp documentation provided with the library.
                     10: // See these sources for detailed information regarding the
                     11: // Microsoft Foundation Classes product.
                     12: 
                     13: #include "ctrltest.h"
                     14: #include "spin.h"
                     15: 
                     16: BOOL CSpinControl::Create(DWORD dwStyle, const RECT& rect,
                     17:                CWnd* pParentWnd, UINT nID)
                     18: {
                     19:        return CWnd::Create("MicroScroll", NULL, dwStyle, rect, pParentWnd, nID);
                     20: }
                     21: 
                     22: WNDPROC* CSpinControl::GetSuperWndProcAddr()
                     23: {
                     24:        static WNDPROC pfnSuper;
                     25:        return &pfnSuper;
                     26: }
                     27: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.