Visual Ide

  
  1. Visual Ide
  2. Visual Identity Guidelines
  3. Microsoft Visual Studio Manual
  4. Visual Identification
  5. Visual Identity Examples
  6. Visual Ideation
Visual Ide-->

This article helps you work around the problem where you cannot use the mouse wheel to scroll in Visual Basic 6.0 IDE.

Visual Studio IDE documentation An integrated development environment (IDE) is a feature-rich application that can be used for many aspects of software development. The Visual Studio IDE makes it easy to edit, debug, build, and publish your app. Visual Studio Code, IntelliJ IDEA, and NetBeans are probably your best bets out of the 14 options considered. 'Extendable through plugins' is the primary reason people pick Visual Studio Code over the competition. This page is powered by a knowledgeable community that.

Original product version: Visual Basic
Original KB number: 837910

Symptoms

You cannot scroll by using the mouse wheel in the Microsoft Visual Basic 6.0 IDE.

Cause

This problem occurs because the Visual Basic 6.0 IDE does not have built-in support for scrolling by using the mouse wheel.

Workaround

To work around this problem, use one of the following methods:

Method 1

Download the VB6 Mouse Wheel.exe file that includes the add-in DLL and the code that is used to create the add-in DLL.

  1. Download the VB6 Mouse Wheel.exe file. The following file is available for download from the Microsoft Download Center:
    Download the VB6MouseWheel.EXE package now.

    For more information about how to download Microsoft support files, see How to obtain Microsoft support files from online services.

  2. Click Start, click Run, type regsvr32 <path>VB6IDEMouseWheelAddin.dll, and then click OK.

  3. Start Visual Basic 6.0.

  4. Click Add-Ins, and then click Add-in Manager.

  5. In the Add-in Manager list, click MouseWheel Fix.

  6. Click to select the Loaded/Unloaded check box, and then click to select the Load on Startup check box.

  7. Click OK.

You can also build the add-in DLL in Visual Basic 6.0. If you do this, the add-in DLL is automatically registered. You can then follow steps 4 through 7 to enable the add-in DLL. To build the add-in DLL, click Make VB6IDEMouseWheelAddin.dll on the File menu.

Method 2

Return to an earlier version of Microsoft IntelliPoint software. To do this, follow these steps:

  1. If the IntelliPoint software that is installed on your computer is version 4.9 or a later version, remove the IntelliPoint software from your computer.

  2. Install IntelliPoint software version 4.12.

    For more information about how to download Microsoft support files, see How to obtain Microsoft support files from online services.

Note

You can also use this add-in in most VBA environments. Install the add-in as described earlier, create a .reg file with the following values, and merge it with your registry.

Windows Registry Editor Version 5.00

HKEY_CURRENT_USERSoftwareMicrosoftVBAVBE6.0AddinsVB6IDEMouseWheelAddin.Connect

  • 'FriendlyName'='MouseWheel Fix'
  • 'CommandLineSafe'=dword:00000000
  • 'LoadBehavior'=dword:00000000

Note

These keys may be ignored if you put them under HKEY_LOCAL_MACHINE.

Visual Ide

More information

Visual

Mouse wheel support in Visual Basic 6.0 is a function of the mouse driver. The WM_MOUSEWHEEL message is sent to the Focus window when you rotate the mouse wheel. Because the Visual Basic 6.0 IDE does not have built-in support for scrolling by using the mouse wheel, the IDE ignores the WM_MOUSEWHEEL message. However, IntelliPoint software version 4.12 provides mouse wheel support and converts the WM_MOUSEWHEEL message to WM_SCROLL. IntelliPoint software version 4.9 and later versions do not have this feature. Therefore, if you want to use the mouse wheel to scroll in the Visual Basic 6.0 IDE, you must use IntelliPoint software version 4.12.

References

For additional information about WM_MOUSEWHEEL notification, see WM_MOUSEWHEEL message.

Virus scan claim

Microsoft scanned this file for viruses, using the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to it.

-->

In this how-to article, we'll customize the Visual Studio color theme from the default blue theme to the dark theme. Then, we'll customize the colors for two different types of text in the code editor.

If you haven't already installed Visual Studio, go to the Visual Studio downloads page to install it for free.

Visual Identity Guidelines

If you haven't already installed Visual Studio, go to the Visual Studio downloads page to install it for free.

Visual ideasVisual

Set the color theme for the IDE

The default color theme for Visual Studio's user interface is called Blue. Let's change it to Dark.

  1. On the menu bar, which is the row of menus such as File and Edit, choose Tools > Options.

  2. On the Environment > General options page, change the Color theme selection to Dark, and then choose OK.

    The color theme for the entire Visual Studio development environment (IDE) changes to Dark.

Tip

You can install additional predefined themes by installing the Visual Studio Color Theme Editor from the Visual Studio Marketplace. After you install this tool, additional color themes appear in the Color theme drop-down list.

Tip

You can create your own themes by installing the Visual Studio Color Theme Designer from the Visual Studio Marketplace.

Change text colors in the editor

Microsoft Visual Studio Manual

Now we'll customize some text colors for the editor. First, let's create a new XML file to see the default colors.

Visual Identification

  1. From the menu bar, choose File > New > File.

  2. In the New File dialog box, under the General category, choose XML File, and then choose Open.

  3. Paste the following XML below the line that contains <?xml version='1.0' encoding='utf-8'?>.

    Notice that the line numbers are a turquoise-blue color, and the XML attributes (such as id='bk101') are a light blue color. We're going to change the text color for these items.

  4. To open the Options dialog box, choose Tools > Options from the menu bar.

  5. Under Environment, choose the Fonts and Colors category.

    Notice that the text under Show settings for says Text Editor—this is what we want. Expand the drop-down list just to see the extensive list of places where you can customize fonts and text color.

  6. To change the color of the line numbers text, in the Display items list, choose Line Number. In the Item foreground box, choose Olive.

    Some languages have their own specific fonts and colors settings. If you are a C++ developer and you want to change the color used for functions, for example, you can look for C++ Functions in the Display items list.

  7. Before we exit out of the dialog box, let's also change the color of XML attributes. In the Display items list, scroll down to XML Attribute and select it. In the Item foreground box, choose Lime. Choose OK to save our selections and close the dialog box.

    The line numbers are now an olive color, and the XML attributes are a bright, lime green. If you open another file type, such as a C++ or C# code file, you'll see that the line numbers also appear in the olive color.

Visual Identity Examples

We explored just a couple ways of customizing the colors in Visual Studio. We hope that you'll explore the other customization options in the Options dialog box, to truly make Visual Studio your own.

Visual Ideation

See also