carlton Posted September 2, 2006 Share Posted September 2, 2006 I have created an AutoIt window that popup up when the user tries to open a specific application. However, I can't find the settings to make this window modal and always on top. This must be possible as VB6 does this in a few clicks! I've searched the help and the forum and not found any joy. I'm using the $WS_POPUPWINDOW style when creating the window, but this only seems to control the visual aspect of the window. I've used WinSetOnTop("active", "", 1) to bring the window to the top, but nothing then stops the user moving to another window. Please help!!! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 2, 2006 Moderators Share Posted September 2, 2006 What do you mean nothing stops a user from moving to another window? Why are you using "active" why not use your actual GUI's name or handle? Nothing is going to stop a user from going to another window unless you hide the taskbar and make the GUI cover the entire screen while you disable task manager and the window keys at the same time. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Azu Posted September 2, 2006 Share Posted September 2, 2006 What do you mean nothing stops a user from moving to another window? Why are you using "active" why not use your actual GUI's name or handle?Nothing is going to stop a user from going to another window unless you hide the taskbar and make the GUI cover the entire screen while you disable task manager and the window keys at the same time.And a few other things as well.Basically you make a virus. Link to comment Share on other sites More sharing options...
Confuzzled Posted September 2, 2006 Share Posted September 2, 2006 Yep, I can see your mistake right there: Just move the doodad a little to the left and omit the comma. Post some code so we can offer constructive comments, eh? 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