|
-
Nov 30th, 2017, 12:52 PM
#1
Thread Starter
New Member
Load my application inside 3rd party's application?
I am not too sure where to start...
I have a computer with 4 monitors. The main application is set to be the topmost window and uses all four displays and the top two screens are grayed out. I have built a program to be the topmost so it sits on top of the main application on the top two screens but, the main program has child windows and popups that can go into those top two windows and I cant see them while my program is loaded. I've been at finding a solution for this for a week now....
How could I make my program hook into that applications frame and load my program inside its frame and move it to the top two monitors?
or
How could I make my program monitor when that application has a new child window or a new window opens, it moves it back to the bottom two screens?
Any help would be a lifesaver....
Thanks!!!
-
Nov 30th, 2017, 01:32 PM
#2
Re: Load my application inside 3rd party's application?
If we are talking about a Windows application, the first part is out of the question. A windows application has windows. You can likely monitor the open windows and move them, but you certainly can't be blithely replacing the windows of one application with that of another.
What you'd need to do might be easier than what you asked for. If the desktop is simply extended onto all those screens, as it sounds like it is, you may be able to simply look at the position of all open windows, and any shown in the upper monitors would have a certain top location (probably 0, if they are full screen), so you might be able to just look for windows with that top and move them down.
My usual boring signature: Nothing
 
-
Nov 30th, 2017, 01:41 PM
#3
Thread Starter
New Member
Re: Load my application inside 3rd party's application?
This the main application is iFix and has VBA for scripting if that helps. I can find the child windows by sending my application notifications and can move windows that way. But I want to make it a last resort opening the program up inside of ifix since it already is getting worked from accessing a database and graphics loaded.
-
Nov 30th, 2017, 08:38 PM
#4
Fanatic Member
Re: Load my application inside 3rd party's application?
i remember one time at work i usually had a dozen programs open all at once and i wanted something like tiling but more customizable....
basically all i did was create a program that loads other programs into it and then had a bunch of code manipulating and automating some of them to make my life easier.....
but the process of controlling each programs window was just a matter of a couple of lines of code using windows API.
it was a long time ago but you basically just tell the program you want control of that its parent is the control you want it displayed in.... from there you can basically manipulate the window very easily....
the reason im bringing this idea up is if you put the host program on your top 2 monitors you can then manipulate everything from there, juts have a option panel to press with selects which program you want to see etc......
just a thought
Yes!!!
Working from home is so much better than working in an office...
Nothing can beat the combined stress of getting your work done on time whilst
1. one toddler keeps pressing your AVR's power button
2. one baby keeps crying for milk
3. one child keeps running in and out of the house screaming and shouting
4. one wife keeps nagging you to stop playing on the pc and do some real work.. house chores
5. working at 1 O'clock in the morning because nobody is awake at that time
6. being grossly underpaid for all your hard work

-
Dec 1st, 2017, 10:29 AM
#5
Thread Starter
New Member
Re: Load my application inside 3rd party's application?
Thanks Gbeats. Since this software is controlling a process, I don't want it to load in my program because if it freezes or something happens it would come back to me. Just trying to play this one safe . Thank you for the idea. I will keep that solution in mind because i might need to do that later for another project!
Tags for this Thread
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
|