10003 : VC++ 2003 WM_GETDLGCODE, Endless loop

Question

We are trying to integrate this control in one of our product but we have a serious problem. When the scrollbar of the grid (of the ActievX) is hit the application is entering in an endless loop, by sending continuesly the WM_GETDLGCODE to the control.

The working environment is VC++ 2003. We have a dialog box and a custom control on it. The custom control has as child the ActiveX control. The custom control is implemented in a DLL.

If you want I can send you a test application, where you can recontruct easily this problem.

Answer

This only happen for VC++ MFC apps. We fixed the problem in a pre-release that was verified by the client. It will be available for download as a service release.