Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

handle initiated MsgBox

$
0
0
Hi,
 
What conditions do i need to set to an initiated MsgBox command so I can close it when something changes via $WM_COMMAND like for instance when WM_DEVICECHANGE sees a different drive (while MsgBox is still showing)
 
so I can close the MsgBox from there ($WM-Function) with auto answering "no" to it
 
I see there is a command like _GUICtrlButton_Click that may be used for this
but I'm guessing I need the MsgBox's win-handle for this to work  or can the win-handle be retrieved as soon as the MsgBox is launched
 
What would be the right way to handle this Msgbox
TIA for any idea's on this
 

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>