Had one custom controls, consists of two class, one is TOleControl, the other is a TFrame.
Placed in TFrame TOleControl.
Control can be successfully installed to Delphi control panel, it's no problem for me to use,
But when I turn this control for ActiveX component, although can install to Delphi control panel, but when drag it to the form, the error "unable to find a parent window",
Consult everybody, how should solve?
Note: I am in Delphi6 "file" menu, choose New - other - ActiveX - ActiveX Control create ActiveX components,