Netol Posted June 5, 2024 Posted June 5, 2024 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
Andreik Posted June 5, 2024 Posted June 5, 2024 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
Netol Posted June 5, 2024 Author Posted June 5, 2024 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
Solution spudw2k Posted June 6, 2024 Solution Posted June 6, 2024 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
argumentum Posted June 6, 2024 Posted June 6, 2024 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.
Netol Posted June 6, 2024 Author Posted June 6, 2024 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
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