|
-
Sep 3rd, 2001, 09:53 PM
#1
Thread Starter
PowerPoster
Minimize out of process window
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|