Posted on 1998-07-16
I'm building an ActiveX control which contains three MFC common controls, two of which are to be tab stops. If it matters, the three controls are a CStatic, a CEdit and a CButton. I've got the drawing/painting code down fine, looks great, but it won't correctly handle the tab stops. If I take the control into VB and embed it onto a form and add a VB command button, the focus is initially on my edit control, press tab, it moves to the VB command button, press tab again and all you get is a beep, no change in focus. I've set the properties up in VB to make my OCX a tab stop, and set it's tab order. I've made sure that in VC each of the sub-controls are tabstops as well. What gives?