Bert Posted October 25, 2006 Share Posted October 25, 2006 I notice winmove will move a window even if it is maximized. Is it supposed to do that? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
jvanegmond Posted October 25, 2006 Share Posted October 25, 2006 I notice winmove will move a window even if it is maximized. Is it supposed to do that?Isn't maximize just a resize and move? github.com/jvanegmond Link to comment Share on other sites More sharing options...
Bert Posted October 26, 2006 Author Share Posted October 26, 2006 not sure on that. Let me give a example. run("notepad.exe", "", @SW_MAXIMIZE) sleep(1000) $w = "Untitled - Notepad" WinMove($w, "", -200, 20) MsgBox(0, "Is this Right?", "Notice the notepad window has the maximize attribute, but is part way off the screen? Is it supposed to do this?", 10) WinSetState($w, "", @SW_RESTORE) sleep(1000) WinSetState($w, "", @SW_MAXIMIZE) sleep(2000) WinClose($w) This code demonstrates what I'm talking about. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Bert Posted October 28, 2006 Author Share Posted October 28, 2006 bump The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
xcal Posted October 28, 2006 Share Posted October 28, 2006 I would think maximize it different than resize/move, because WinGetState ( "title" [, "text"] ) knows the difference. Just a guess on my part. How To Ask Questions The Smart Way 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