Hey!
I would like to have a small program that will allow a user to stretch a given region of the screen (a window and/or control) to fill the entire screen and then "unstretch" it back to its original size and position. The program wouldn't need a user interface of its own, hotkeys would probably suffice. More specifically, I need to stretch a window in Autodesk Inventor which is a 3D CAD program and give the user the ability to show only the 3D model on the screen without any of toolbars, buttons, taskbars etc. that clutter the working space. This program would be of equal interest to many other 3D packages (That don't have this feature already) or other software. It's main intention is for presentation purposes where you want to clean the screen for distracting elements. I suppose this could be accomplished by hiding the regions of the screen that are not of interest, but I am looking for something that will make maximum use of the screen real estate.
I have experience with AutoHotkey but I haven't been able to find a suitable solution. I've tried a few different approaches so far:
-Set the size of the control to be equal to the screen size and set the control to be the topmost control.
This didn't work because the control is a child of the parent window (Autodesk Inventor) and I couldn't set the size of the child control to be larger than the size of the parent window. The control is stuck inside the parent window.
-Detach the control, set its parent to a new gui and set the size of the gui to be equal to the screen size
This is when I came across Skrommels
DetachVideo. This seems to be very promising and a great starting point. Extending and modifying DetachVideo to detach and stretch any control would do the trick nicely. One issue with this approach is that even if all keystrokes and mouse clicks are "forwarded" to the parent window, the parent window has "lost control of the control" so the program might not function properly?
-Create a separate window which magnifies the original control
This might work as well, but I couldn't get things right and ideall I would like not to distort the image (zoom). If nothing else works then this will suffice.
Related links I've come across:
Similar request for programSetParent function (make a gui belong to another window)holomind's ScreenMagnifierI've attached some pictures showing the Autodesk Inventor main window.
- The first image shows the standard window with the window of the 3D model maximized inside the parent window.
- The second image shows the standard window with the windows of the 3D model "restored" inside the parent window.
- The third image shows what I want the full screen to look like. This essentially shows the entire goal of the program
- Snapshot from WindowSpy
Can this be accomplished?
Thanks in advance.
Murple