KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q43260: Vertical Scroll Inactive with MODE CO40 and Dual Monitors

Article: Q43260
Product(s): See article
Version(s): 2.x
Operating System(s): MS-DOS
Keyword(s): ENDUSER | S_C buglist2.20 | mspl13_basic
Last Modified: 18-APR-1989

While debugging a program using Microsoft CodeView and dual monitors,
the vertical scroll bar is disabled when the video mode is set to
40-line color text. This occurs if the mode is set either at the
command line

   MODE CO40

or from within a program as follows:

   _setvideomode(_TEXTC40);

The scroll bar remains inactive until the mode is changed. This
problem does not occur on a single monitor system or in any other
video modes.

Microsoft has confirmed this to be a problem in Version 2.20. We are
researching the problem and will post new information as it becomes
available.

The following program demonstrates the problem:

#include <graph.h>

void main (void)
{
  _setvideomode(_TEXTC40);
  _setvideomode(DEFAULTMODE);
}

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.

Copyright Microsoft Corporation 1986-2002.