Jump to content
Sign in to follow this  
beast

BlockInput

Recommended Posts

beast

Hello

I use BlockInput to disable interrupts from users

when program is installed, and to set right stuff under install procedure.

Now I have a problem, this new apps is giving user a warning dialog

with only one ok button. Dialog is very important to show.

I would like to giv user possibility to see this messages and also

possibility to use the mouse to click only on this dialog.

Is this possibly to make

Give user mouse only on this dialog? (Not outside dialog)

Edited by beast

Share this post


Link to post
Share on other sites
SadBunny

Hello

I use BlockInput to disable interrupts from users

when program is installed, and to set right stuff under install procedure.

Now I have a problem, this new apps is giving user a warning dialog

with only one ok button. Dialog is very important to show.

I would like to giv user possibility to see this messages and also

possibility to use the mouse to click only on this dialog.

Is this possibly to make

Give user mouse only on this dialog? (Not outside dialog)

Yes, MouseTrap() to the coordinates that WinGetPos() can retrieve for you should work?


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites
BigDod

You could always use _MouseTrap to make sure the mouse cant move outside the active window.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites
BrettF

Maybe something like _MouseTrap () will do your job??

EDIT: Hahahahahaha... 3 posts, same thing, same minute.. What timing... :) Makes me wonder why...

Edited by Bert

Share this post


Link to post
Share on other sites
BigDod

Maybe something like _MouseTrap () will do your job??

EDIT: Hahahahahaha... 3 posts, same thing, same minute.. What timing... :) Makes me wonder why...

Great minds think alike or fools seldom differ :)


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites
Bert

Other methods

One method would be to give the box a focus attribute, so as if any other window was clicked, focus would return to it.

A second method would be to add a splash screen to cover the entire screen, with a on top attribute to that window.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.