beast Posted September 25, 2007 Share Posted September 25, 2007 (edited) 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 September 25, 2007 by beast Link to comment Share on other sites More sharing options...
SadBunny Posted September 25, 2007 Share Posted September 25, 2007 HelloI use BlockInput to disable interrupts from userswhen program is installed, and to set right stuff under install procedure.Now I have a problem, this new apps is giving user a warning dialogwith 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 makeGive 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. Link to comment Share on other sites More sharing options...
BigDod Posted September 25, 2007 Share Posted September 25, 2007 You could always use _MouseTrap to make sure the mouse cant move outside the active window. 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 Link to comment Share on other sites More sharing options...
BrettF Posted September 25, 2007 Share Posted September 25, 2007 (edited) Maybe something like _MouseTrap () will do your job?? EDIT: Hahahahahaha... 3 posts, same thing, same minute.. What timing... Makes me wonder why... Edited September 25, 2007 by Bert Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
BigDod Posted September 25, 2007 Share Posted September 25, 2007 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 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 Link to comment Share on other sites More sharing options...
Bert Posted September 25, 2007 Share Posted September 25, 2007 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. The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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