terrypin Posted November 15, 2007 Report Share Posted November 15, 2007 I am running a program titled, say, TOP and I have a dialog window open within it titled SUB. I want to resize SUB. But when I use the command Window Resize: SUB - (Width: 850 Height: 630) I get TOP resized, not SUB. Is there any way to achieve what I want please? Or can MEX only operate on the 'main' program, not its sub-windows? -- Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
terrypin Posted November 19, 2007 Author Report Share Posted November 19, 2007 I am running a program titled, say, TOP and I have a dialog window open within it titled SUB. I want to resize SUB. But when I use the command Window Resize: SUB - (Width: 850 Height: 630) I get TOP resized, not SUB. Is there any way to achieve what I want please? Or can MEX only operate on the 'main' program, not its sub-windows? -- Terry, East Grinstead, UK No one know the answer to that please? -- Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
jason Posted November 19, 2007 Report Share Posted November 19, 2007 It depends on the program that you are running the macro in. It is possible that the child (sub) window is actually a control, in which case, Macro Express will not resize it as there is no way to resize a control. If the child window is a separate window, than it should be able to resize it without any problems. Unfortunately, in your case, it sounds like it is a control. Quote Link to comment Share on other sites More sharing options...
terrypin Posted November 20, 2007 Author Report Share Posted November 20, 2007 It depends on the program that you are running the macro in. It is possible that the child (sub) window is actually a control, in which case, Macro Express will not resize it as there is no way to resize a control. If the child window is a separate window, than it should be able to resize it without any problems. Unfortunately, in your case, it sounds like it is a control. OK, thanks anyway Jason. I've now therefore abandoned hope of that approach. And I didn't try the Control route as I've never had any success with that, apart from the demo programs like Notepad. -- Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.