Shark007 Posted August 24, 2019 Posted August 24, 2019 I've been trying to find a way to make the SplashTextOn positioning be relative to the GUI placement instead of the default x,y screen coordinates. Can anyone offer some assistance?
mikell Posted August 24, 2019 Posted August 24, 2019 It should not be so difficult to calculate the coordinates using WinGetPos($gui) and the size of the Splash
UEZ Posted August 24, 2019 Posted August 24, 2019 Here a starting point: #include <AutoItConstants.au3> #include <GUIConstantsEx.au3> Global $hGUI = GUICreate("Test") GUISetState() Global $aPos = WinGetPos($hGUI) SplashTextOn("Title", "Message goes here.", 400, 100, $aPos[0], $aPos[1] + $aPos[3], BitOR($DLG_MOVEABLE, $DLG_TEXTLEFT), "", 24) Do Until GUIGetMsg() = $GUI_EVENT_CLOSE FrancescoDiMuro 1 Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
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