Click to See Complete Forum and Search --> : [2.0] MDI Container
Paul M
Dec 5th, 2007, 12:20 AM
I am working on a little project to run applications in sort of like explorer i guess :p but its just going to launch a program and it will become a MDI Child. I was wondering if the SetParent API would be best for this?
I am a little confused about how to go about this i sort of want to be able to move the Child window in the Parent. Any ideas anyone?
Paul M
Dec 5th, 2007, 12:34 AM
Just messed about with the SetParent API in VB6 and appears to work perfectly well, unless there is a more efficient method, oh also i ain't really looking for it to be cross platform.
ComputerJy
Dec 5th, 2007, 12:40 AM
If you are really using C#2.0 you don't have that much of a cross platform compatibility :)
Paul M
Dec 5th, 2007, 12:42 AM
lol thanks that was probably deserving of a flame it was so idiotic :p
Edit:
On Topic, i would also need to capture the windows message not sure which one but lets say someone loads notepad not through the application itself how would i capture the it and set it as a Child window?
ComputerJy
Dec 5th, 2007, 12:55 AM
I guess the Windows API forum would be more appropriate for this question you won't get that many answers in here.
But why do you want to do that??
Paul M
Dec 5th, 2007, 01:05 AM
I sometimes have lets say AIM, MSN and maybe another chat application open. Its annoying to see all three or so in the taskbar and plus taking up space on my screen. So now i can just open up this application select my Chat profile (If profiles is a good idea) and it will launch all of them and embed them into one Parent form :D
It could be of use to others who have rather small screens on their laptops also.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.