TargetCell Posted January 23, 2017 Share Posted January 23, 2017 Yesterday, I posted on a scripting and programming forum with several million members. I was reluctant to post because my problem is "too simple" for this type of advanced forum. So far, no one has replied. I've been using batch files and other types of scripts for many years. I've got a window resizing problem, and there may be no solution. This example from NirCmd is typical of all the apps I use: nircmd.exe win setsize class "TMainForm" x, y, width, height When a command is given to "resize" the window always rolls up from the bottom. The attached image is the window I'm trying to resize. A is the full window. I want to resize so that B is the only visible area. B is a simulated instrument display for testing electrical components. It shows "Not Active" in the upper left corner. Image C is the final result, and that's my problem. Resize commands always reduce the height of a window from the bottom up. I need to reduce this window from the top down, so that the instrument display (B) is the only visible part of this window. It would be nice to keep the title bar (class TMainForm), but I don't need to see it. I know how to create basic scripts, but I'm not a programmer. What I want probably requires dismantling and reassembling the code for this app. I don't have those skills. I was thinking, is there an applet that can hide part of a window? If there is, that would be similar to resizing a window. Not the perfect solution, but it could be a good workaround. Any ideas would be helpful. Thanks guys. Link to comment Share on other sites More sharing options...
funkey Posted January 23, 2017 Share Posted January 23, 2017 Maybe the black control can be moved up ? Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now