Netol Posted June 5 Share Posted June 5 Hello dears, Hoping that you are doing very well, I will ask you about a code so that when I pass the mouse pointer over a label that has the path of a .jpg image, it opens as a tooltip Best regards Link to comment Share on other sites More sharing options...
Andreik Posted June 5 Share Posted June 5 Since you didn't post any code I assume that you have a simple label so you can use GUICtrlSetTip(). There is an example in help file. Netol 1 When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Netol Posted June 5 Author Share Posted June 5 12 hours ago, Andreik said: Since you didn't post any code I assume that you have a simple label so you can use GUICtrlSetTip(). There is an example in help file. In this code i write the entire path of a .jpg image $LabelST = GUICtrlCreateLabel("-----------------------------------------------", 570, 80, 110, 20) ; nombre de la captura temporal so when I hover over a label that has the path of a .jpg image, it opens inside a tooltip or flash window Link to comment Share on other sites More sharing options...
Solution spudw2k Posted June 6 Solution Share Posted June 6 Are you saying you would like a pop-up preview of the image if you hover over the label which contains an image path? You can probably use the SplashImageOn function, combined with some code to detect if the control is being hovered over. Netol 1 Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
argumentum Posted June 6 Share Posted June 6 1 hour ago, spudw2k said: You can probably use... The way I see it, he wants people to give him the code. Better, y'all code something better than the one before. There is enough examples on how to do that in this site. Cheers Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Netol Posted June 6 Author Share Posted June 6 3 hours ago, spudw2k said: Are you saying you would like a pop-up preview of the image if you hover over the label which contains an image path? You can probably use the SplashImageOn function, combined with some code to detect if the control is being hovered over. Yes, this is a need. SplashImageOn is working fine thanks a lot my friend Link to comment Share on other sites More sharing options...
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