Fog Creek Software
Discussion Board

ATL Control in Excel

This is a wierd one. I created an ATL "full" control in VC++ 6.0 using ATL-COM wizard. All settings were left default. Then I built the project and registered resulting dll.

Next I opened Excel, inserted my control in an empty worksheet and added a push button with a click handler that just pops up a "Hello World" message box.

Now the problem. When you leave design mode and try to
push button nothing happens. If you remove the control and push the button it works as it should be.

Anyone has any explanation of such a strange behavior?


Wednesday, January 29, 2003

*  Recent Topics

*  Fog Creek Home