Jabberwock Posted March 21, 2007 Share Posted March 21, 2007 Is it possible to set a 2nd form as a dialog so that the focus remains there until it's closed? like a messagebox Link to comment Share on other sites More sharing options...
piccaso Posted March 22, 2007 Share Posted March 22, 2007 maybe there is a window style that can do that, i didnt find anything that sounds like it in the helpfile but if there is no such style you could use GuiRegisterMsg() to catch wm_activate and reclaim focus if lost. CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
Valuater Posted March 22, 2007 Share Posted March 22, 2007 maybe there is a window style that can do that, i didnt find anything that sounds like it in the helpfile but if there is no such styleyou could use GuiRegisterMsg() to catch wm_activate and reclaim focus if lost.Just a thought...Make the window top-most and lock the mouse within the cooordinates of the window until the close button is pressed8) Link to comment Share on other sites More sharing options...
Jabberwock Posted March 22, 2007 Author Share Posted March 22, 2007 I'm not trying to restrict them to that window only on the system, I'm trying to stop them from doing stuff in form 1 while form 2 is up, like VB you can do load from as dialog. 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