|
-
Jan 2nd, 2000, 09:33 PM
#1
Thread Starter
Junior Member
Hi VB-Fans,
does anybody know how to subordinate a form to a specific App. E.g. I want to create a form which is only visible when Word is active but in Word it should be always on top.
When Excel is active then only Excel should be visible.
Thanks
-
Jan 3rd, 2000, 09:07 PM
#2
Thread Starter
Junior Member
Unforunately nowbody replied to my question. Perhaps it isn't clear what I meant.
I "only" need a API call which sets my VB-Form as a MDI-Form of another application. That's it.
In my opinion it's a hardcore API question. Maybe a hard nut for Aaron Young or Crazy D?!?! :-)
Regards,
------------------
>> Frank <<
-
Jan 3rd, 2000, 11:18 PM
#3
You have to know the hWnd of the Window you would like to have as the parent (for example the hWnd of Word). Then call SetWindowPos and pass the hWnd as the hwndInsertAfter argument.
Good luck!
------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com
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
|