Mingre Posted May 30, 2011 Share Posted May 30, 2011 Is there a way to make a GUI window non-movable? (Like a splash window in its default state). THANKS! Link to comment Share on other sites More sharing options...
sleepydvdr Posted May 30, 2011 Share Posted May 30, 2011 Look at the post by Yortiz (post #3) in this thread: #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
MHz Posted May 30, 2011 Share Posted May 30, 2011 You can do it with style. #include <WindowsConstants.au3> GUICreate('', Default, Default, Default, Default, $WS_POPUP) $b = GUICtrlCreateButton('Exit', Default, Default) GUISetState() Do Until GUIGetMsg() = $b Link to comment Share on other sites More sharing options...
Mingre Posted May 30, 2011 Author Share Posted May 30, 2011 sleepydvdr, Thanks! I used the function and it works great though I don't get how it works. LOL. MHz, Tried the same thing before making this thread but it doesn't work. Might've done something wrong. Anyhow, thanks for responding. Edit: I just tested the code on your post and thought it might have been that the list on my GUI can't be contained by a POP-UP window. Just a guess. Link to comment Share on other sites More sharing options...
Maffe811 Posted May 30, 2011 Share Posted May 30, 2011 Look at the post by Yortiz (post #3) in this thread:Sorry if this is highjacking the topic, but is there a way to rewrite this to affect hight and widht ?I have a gui with an IE window, and there is a advertisement off screen, and the gui is to small to show it (on purpose) but if the user drags the window larger, you can see it.Is there a way to fix this ? [font="helvetica, arial, sans-serif"]Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.[/font]Scripts:[spoiler]Simple ScreenshotSaves you alot of trouble when taking a screenshot!Don't remember what happened with this, but aperantly the exe is all i got.If you don't want to run it, simply don't._IsRun UDFIt figures out if the script has ben ran before based on the info in a ini file.If you don't want to use exactly what i wrote, you can use it as inspiration.[/spoiler] 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