Posted 3 February 2020, 5:01 pm ESTI am using a Spread 12 control in a C++ MFC application using the CWinFormsView class wrapper.
First, I create a C# User Control Library which wraps the FpSpread control.
Next, I implement the MFC view using CWinFormsView. Essentially CWinFormsView wraps the User Control as described here:
This works fine for just about every functionality of Spread. One difference I notice is that the Spread scroll bars no longer "repeat" when the buttons are held with the mouse, i.e. the control scrolls by only one row, rather than scrolling slowly through all the rows (while the mouse button is held).
If I write a C# Windows Form front end for the User Control, then it all works fine. Therefore I guess it can be asserted that the MFC CWinFormsView implementation is at fault.
One interesting fact is that Spread 11 did not have this problem (and worked fine with the MFC scenario I outlined above). It started with Spread 12 (and it looks like 13 behaves like 12). Can the developers offer any suggestions about what changed with the scroll bar implementation in Spread 12 that might help me to craft a work-around?