MTblEnableMWheelScroll
bOk = MTblEnableMWheelScroll( hWndTbl, bEnable )
Enables or disables the scrolling on WM_MOUSEWHEEL messages.
Parameters
hWndTbl
Window Handle: Handle of the table
bEnable
Boolean: TRUE = enable, FALSE = disable
Return
Boolean: TRUE if succesfull or FALSE if not
Remarks
If you have split rows in the table and the mouse is over the split window, the split window is scrolled.
When the list box of a drop down list column is open:
- When the mouse is over the list, the list is scrolled ( this is done by sending WM_MOUSEWHEEL to the list box )
- When the mouse is over the cell, the next/previous entry in the list is selected ( this is done by sending WM_KEYDOWN with VK_DOWN/VK_UP in wParam to the cell edit control )
Example
In this example the scrolling is enabled:
Call MTblEnableMWheelScroll( hWndTbl, TRUE )
See also
Mousewheel scrolling
Created with the Personal Edition of HelpNDoc: Free Qt Help documentation generator