Sign in to follow this  
Followers 0
Jabberwock

2nd form as dialog?

4 posts in this topic

Is it possible to set a 2nd form as a dialog so that the focus remains there until it's closed? like a messagebox


Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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.

Just a thought...

Make the window top-most and lock the mouse within the cooordinates of the window until the close button is pressed

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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.


Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0