解决了,原来真是listview得scroll做了不该做的动作,所以他自己重写了下scroll bar就好了
We use standard Windows flat scrollbars in our activeX controls.
For some reason, if the scrollbar(s) are showing when we try to do in place editing of a thumbnail title in the Thumbnail control, the
editor closes upon instantiation before any user action can be made. The fix is to hide the scrollbars while the editing is taking place.
Doing so causes no harm since the thumbnail control can't be manipulated until the in place editor is dismissed, at which point the scrollbars
are re-displayed (if they were visible previously). Though not necessary, I added the same behavior to the ListView control for the sake of
consistency. I also cleaned up some code in the thumbnail control where BOOLs were being initialized with boolean values and those variables
were also being used as LRESULT return values.