PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Haakon Birkeland on June 08, 2004, 07:22:45 PM

Title: OCX container 'border'
Post by: Haakon Birkeland on June 08, 2004, 07:22:45 PM
The approximate grid sized white canvas/border around the OCX control in the OCX container. Does it have to be there during design time, or are there any way to get rid of it. It's "fine" once running the compiled EXE.. But then it has to be wrongly sized in design-time. Seems like we can't have it both ways..?
Title: OCX container 'border'
Post by: TechSupport on June 08, 2004, 09:24:18 PM
Nope, can't have it both ways in this case. We need the border around the OCX in order to allow us to resize or move the OCX. There are just too many different types of OCX's. I tried to subclass the OCX to catch the mouse messages for resize, etc... both it is not successful in all cases. The container approach is a compromise.
Title: OCX container 'border'
Post by: Jose Roca on June 08, 2004, 10:57:25 PM
Better don't try, Paul. There ase also windowless ActiveX controls :)
Title: OCX container 'border'
Post by: Haakon Birkeland on June 09, 2004, 05:00:19 AM
So it's got to be that wide.. Guess we can't have it all (yet)..  :(