PROBLEM: Minimize an out of process main form prior to it showing.

I'm using a third party OCX. The OCX calls the vendors program
which starts and displays its main form. I currently intercept the program using the following code which minimizes the main form but AFTER it displays.

'Start Conrol
ck = X.Start

'Use the Class Name to Minimize
hwnd = FindWindow("XYZ", vbNullString)

'Minimize Window
Dummy = CloseWindow(hwnd)

Thanks
David