<https://www.autoitscript.com/forum/topic/208487-splashtexton-with-close-x-button/>
<http://schema.org/text>
"I'd like to be able to use the SplashTextOn feature, but allow the user to close the window with an X button instead of having to make them wait an arbitrary amount of time. I am surprised I can't find any results for this.\n \n\n\n\tI managed to make a whole GUI version to get around this, but it's kludgy AF. I'm just trying to display bitcoin price in a text window, that's it, nothing else. The bitcoin part works, not asking for help with that.\n \n\n\n\tHere's how easy the code 'could' be:\n \n\n&#13;\nSplashTextOn(\"Bitcoin Price\", $result, -1, 150, -1, -1, -1, -1, 48, 700)\n\n\n\tHere's how I have it now:\n \n\n&#13;\n$Form1 = GUICreate( \"Bitcoin Price\", 480, 100, -1, -1, BitOR($WS_EX_TOPMOST, $WS_SYSMENU))&#13;\nGUISetBkColor (0x000000)&#13;\n$Label1 = GUICtrlCreateLabel($result, 0, -10, 480, 180, $SS_LEFT)&#13;\nGUICtrlSetColor($Label1, 0xFFFFFF)&#13;\nGUICtrlSetFont(-1, 64, 800)&#13;\nGUISetState(@SW_SHOW)&#13;\nWinSetOnTop ($Form1, \"\", 1)&#13;\nWhile GUIGetMsg() &lt;&gt; $GUI_EVENT_CLOSE&#13;\nWEnd&#13;\nGUIDelete($Form1)\n\n\n\tThere's several problems. It won't auto size the label properly with the new font size, so I have to set a fixed width. Same with the window. BUT I don't even really care about that; I just want an X button on the text window.\n \n\n\n\tI don't want long fancy code. Small and compact. This is going into a large script that does many things and I don't want to bloat it up with a ton of GUI stuff; it doesn't use that for anything else.\n "
<https://www.autoitscript.com/forum/topic/208487-splashtexton-with-close-x-button/?tab=comments#comment-1504533>