SAMPLE: MUSCROLL Custom Control Code in Software Library

Last reviewed: July 22, 1997
Article ID: Q67247

The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) for Windows versions 3.0 and 3.1

The Microsoft Software Library contains a custom control DLL and documentation for a custom control class, MicroScroll. These controls are essentially small scroll bars with no scroll box, and perform no scroll-box tracking.

MicroScroll controls are small enough to be placed next to edit controls to create a spin button, such as those in the Date/Time dialog box in the Control Panel. Spin buttons are discussed on pages 86 and 87 of the IBM CUA guide, which is included with the Windows Software Development Kit (SDK).

The archive file in the Microsoft Software Library, MUSCROLL, contains the following files:

   Filename      Description
   --------      -----------

   MUSCROLL.DLL  MicroScroll custom control DLL. Currently, the source
                 files necessary to build the custom control are not
                 available to the public.

   MUSCROLL.H    Header file containing control styles and messages
                 that define the interface to the control.

   MUSCROLL.HLP  Windows Help file describing the control interface
                 and notes on using the control in an application.

   MUSTEST.ZIP   Code for a test program that uses MicroScroll
                 controls to implement a numeric spin button and to
                 add horizontal scrolling capabilities to a
                 single line edit control.

Download MUSCROLL.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
  • Microsoft Download Service (MSDL)

          Dial (206) 936-6735 to connect to MSDL
          Download MUSCROLL.EXE (size: 41577 bytes) 
    
  • Internet (anonymous FTP)

          ftp ftp.microsoft.com
          Change to the \SOFTLIB\MSLFILES directory
          Get MUSCROLL.EXE (size: 41577 bytes) 
    

To use MicroScroll effectively with the Dialog Editor that is shipped with the Microsoft Windows SDK version 3.0, you must first patch the Dialog Editor executable file.

NOTE: The Dialog Editor was fixed in the Windows SDK version 3.1.


Additional query words: softlib MUSCROLL.EXE
Keywords : kb16bitonly kbfile UsrCtl kbfile kbhowto kbprg
Version : 3.00 3.10
Platform : WINDOWS
Issue type : kbhowto
Resolution Type : kbfile


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.