johna007 Posted March 25, 2005 Posted March 25, 2005 My program opens a msgbox by AdlibEnable("mainprog") MsgBox(4096, "", "Press OK to Stop",) Exit Func mainprog() ;... My program code goes here ;... when i need to Close MsgBox EndFunc How can i close the Msgbox inside the Func mainprog() John
Developers Jos Posted March 25, 2005 Developers Posted March 25, 2005 My program opens a msgbox byAdlibEnable("mainprog")MsgBox(4096, "", "Press OK to Stop",)ExitFunc mainprog() ;... My program code goes here ;... when i need to Close MsgBox EndFuncHow can i close the Msgbox inside the Func mainprog()John<{POST_SNAPBACK}>You can not accomplish it this way... only when you shell a second program that does it for you.... But why would you want to do something like this in the first place ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
johna007 Posted March 26, 2005 Author Posted March 26, 2005 Opening a msgbox this way it is allways visible on screen,even if the focus is on another window. Is there a another way to make a non focus control box allways visible on screen ? John
Developers Jos Posted March 26, 2005 Developers Posted March 26, 2005 Opening a msgbox this way it is allways visible on screen,even if the focusis on another window.Is there a another way to make a non focus control box allways visible on screen ?John<{POST_SNAPBACK}>Try SplashTextOn () and if that does what you want. MsgBox() is a blocking function, SplashTextOn () make a extra window popup with the TopMost attribute, and stays there till SplashTextOff ()... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Neoborn Posted March 26, 2005 Posted March 26, 2005 what does that mean a " blocking function" as opposed to whatever this SplashTextOn does? What is SplashTextOn if it's not a blocking function? Thanks ~Projects~1. iPod Ejector 1.0 - Tool Used To Eject iPod in Windows - Uses DevEject.exe :P2. SmartFTP Close Popup Tool - Closes reminders from freeware SmartFTP.~Helpful Links For New Users~1. LXP's Learning AutoIT PDF Guide - <<< Go here for a PDF Guide on learning AutoIT from the ground up!<<<2. AutoIt 1-2-3 <<<Want to learn more about AutoIT quickly? Go Here<<<3. How To Install The Beta And Production Versions Of AutoIT / SciteAutoIT
Developers Jos Posted March 26, 2005 Developers Posted March 26, 2005 what does that mean a " blocking function" as opposed to whatever this SplashTextOn does? What is SplashTextOn if it's not a blocking function?Thanks <{POST_SNAPBACK}>msgbox blocks the script processing until the msgbox is closed.SlashTextOn displays a window with text and the script continues executing.. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
johna007 Posted March 26, 2005 Author Posted March 26, 2005 That does the trick! Thank you for your help.
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