Alexxander Posted August 23, 2013 Posted August 23, 2013 (edited) hi all i am making a GUI script i have a bout 5 images in the GUI i want when the user hover with the mouse over the image the script display a little message (not messagebox) that describe the image and when the user get the mouse off the image the message will automatically be hidden i mean something near to this any ideas ? Edited August 23, 2013 by alexander95
Bert Posted August 23, 2013 Posted August 23, 2013 Look at the GuiToolTip management section in the help file. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Solution EKY32 Posted August 23, 2013 Solution Posted August 23, 2013 Well, I'm not sure this is what you want because the image you posted is not seen to me: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 243, 225, 192, 124) $Pic1 = GUICtrlCreatePic("c:\image1.jpg", 0, 0, 113, 105) GUICtrlSetTip(-1, "Image 1 tip") $Pic2 = GUICtrlCreatePic("c:\image2.jpg", 128, 0, 113, 105) GUICtrlSetTip(-1, "Image 1 tip") $Button1 = GUICtrlCreateButton("Exit", 80, 168, 75, 25) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE, $Button1 Exit EndSwitch WEnd Alexxander 1 [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font]
Alexxander Posted August 23, 2013 Author Posted August 23, 2013 thank you all guys you are really helpful
UEZ Posted August 23, 2013 Posted August 23, 2013 (edited) If you need something other way around (when you hovering over an input box with a path to an image file) then have a look here: Br, UEZ Edited August 23, 2013 by UEZ 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
EKY32 Posted August 23, 2013 Posted August 23, 2013 UEZ, you are great. [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font]
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