Open Text Corporation Press Room | Careers | Investors  
Enterprise Content Management
News | Company | Open Text | Hummingbird Connectivity  
Home > Support > Hummingbird Connectivity > Exceed >  Mousewheel support in Exceed Print View   Contact Me   
Site Tools
My Notes
My Menu Add this page to My Menu
Enterprise Content Management

 

DISCUSSION

How to enable mousewheel support in Exceed?

RESOLUTION

In the registry under
HKEY_CURRENT_USER\Software\Hummingbird\Exceed\XServer

Create a value:
Name = MouseWheelSupport
Type = DWORD

The number to assign to this value is one of the following:

1 - ScrollMode: Up/Down scrolls the Main Exceed window.
(available in Single Window Mode only).
2 - SingleKeyMode: Up/Down sends a single key up/keydown to the active XClient.
3 - StringMode: Up/Down sends a user defined sequence of key events to the active XClient.

ScrollMode has no other settings to change.

Here are the steps for configuring SingleKeyMode:

To enable Mouse Wheel in Exceed for 6.2 or earlier you must perform the following steps:

Add the following registry key:
HKEY_CURRENT_USER\Software\Hummingbird\Exceed\XServer

Add the following values under this key:
Name = MouseWheelSupport
Type = DWORD
Value = 2

Name = WheelDownKey
Type = DWORD
Value = SCANCODE of Key to send

Name = WheelUpKey
Type = DWORD
Value = SCANCODE of Key to send

The easiest way to find out the scancode for the key you want to send is to go to Xconfig > Input > Edit Primary When XKeys displays the current keyboard layout pick the key you want to send. In the lower panel should be an edit box containing a string such as "Scan code: 0x12 (E)" The number after the 0x is the hexidecimal number you need to enter for the above values.

Here are the steps for configuring StringMode:

To enable Mouse Wheel in Exceed for 6.2 or earlier you must perform the following steps:

Add the following registry key:
HKEY_CURRENT_USER\Software\Hummingbird\Exceed\XServer

Add the following values under this key:
Name = MouseWheelSupport
Type = DWORD
Value = 3

Name = WheelDownSequence
Type = STRING
Value = [see below for what to put here]

Name = WheelUpSequence
Type = STRING
Value = [see below for what to put here]

By changing the MouseWheelSupport value to 3 Exceed assumes that for each Mouse Wheel event if must send a sequence of keyboard events. Set this value to 0 to turn this feature off.

The WheelDownSequence value controls what Exceed sends when the wheel is rotated downwards, the WheelUpSequence value specifies the up event.

The actual value of the WheelUpSequence and WheelDownSequence must be manually copied from a macro created by Xconfig. Each Sequence is limited to 128 characters.

To create a macro in Xconfig follow these steps:

  1. Start Xconfig.
  2. Select Input.
  3. Edit the Primary Keyboard Layout.
  4. When Keyboard Editor is started Select Macro... from Edit menu.
  5. Click Add..
  6. Press Start record button
  7. Enter the key sequence you want Exceed to send when the mouse wheel is moved (up and down require separate sequences). Try typing Ctrl+Up which is Previous Paragraph in Emacs.
  8. Press Stop record button
  9. Select the ' key to bind to (this is the first key listed)
  10. Click OK. At this point you can save the keyboard file and the macro will be saved under the [strings] section in this file. We can now manually copy the macro string value into the appropriate registry value. Steps to Manually copy Macro from Keyboard to Registry:


At this point you can save the keyboard file and the macro will be saved under the [strings] section in this file. We can now manually copy the macro string value into the appropriate registry value.

Steps to Manually copy Macro from Keyboard to Registry:

  1. Open Notepad.
  2. Browse for the primary keyboard file you modified above. (It is probably the C:\program files\Exceed\User\us.kbf file).
  3. Scroll down to the bottom of the file to find the [strings] section. It should look something like this: [strings] N28=P1d 148 R1d The string to the right of the equals is what must be copied. In this case it represents the Ctrl+Up keyboard action.
  4. In the Registry modify the WheelUpSequence String Value. Simply Paste the string from Copied in step 3 (in this case "P1d 148 R1d".
  5. When you next start exceed the mouse wheel up movement will cause Exceed to send Ctrl+Up to the client. So if you are in Emacs, moving the mouse up will scroll up to the previous paragraph. The exact same steps should be followed to generate the WheelDownSequence.