engjcowi Posted May 28, 2011 Posted May 28, 2011 Only just found this and this is amazing. exactly what i was looking for thank you so much jamie Drunken Frat-Boy Monkey Garbage
martin Posted May 28, 2011 Posted May 28, 2011 Just checked the links and they seem to working again. I get nothing from [link]http://autoit.rv.ua/files/Pictures/icons_ex_back.jpg[/link] Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
vacko Posted February 19, 2012 Posted February 19, 2012 Hi, I have some icons embedded in my exe and I want display them in my GUI.Originally I used function GUICtrlSetImage, but icons are displayed blurry, so I tried use your function instead.But it seems like function _SetIcon can't handle @ScriptFullPath as $sIcon parameter.$Icon1 = GUICtrlCreateIcon("", -1, 24, 32, 48, 48) GUICtrlSetImage($Icon1, @ScriptFullPath, -5) ; my original command (icon is displayed, but it's blurry) _SetIcon($Icon1, "F:\Ico\iconfile.ico", -5, 48, 48) ; example for non-embedded icon (works well, even index is not set correctly) _SetIcon($Icon2, @ScriptFullPath, -5, 48, 48) ; display nothing...Do you know how to solve it ?
Yashied Posted February 19, 2012 Author Posted February 19, 2012 Use positive numbers for indexes of the icons. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
vacko Posted February 20, 2012 Posted February 20, 2012 Use positive numbers for indexes of the icons.Thanks, solved, please add note into comment ;-)
freMea Posted March 20, 2012 Posted March 20, 2012 GUICtrlSetOnHover & Icons UDFs DemonstrationLinkLink and posted screenshots are dead. [list][*]AutoIt 3.3.8.1[*]Win XP PRO SP3[/list]
Yashied Posted March 20, 2012 Author Posted March 20, 2012 Link and posted screenshots are dead.Fixed. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
chandoi Posted December 5, 2012 Posted December 5, 2012 run demo on SciTE errorD:DownloadsCompressedIcons_HoverUDFsGUICtrlSetOnHover.au3(15,107) : ERROR: Opt() called with illegal argument 1: "OnExitFunc".Global $__GUICtrl_SetOnHover_sOriginal_OnExitFunc = Opt("OnExitFunc", "__GUICtrl_SetOnHover_OnAutoItExit")~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^D:DownloadsCompressedIcons_Hoverdemo2.au3 - 1 error(s), 0 warning(s)!>07:49:54 AU3Check ended. Press F4 to jump to next error.rc:2
Parsix Posted October 9, 2021 Posted October 9, 2021 line 625 : $Ret = DllCall($ghGDIPDll, 'int', 'GdipCreateBitmapFromHICON', 'ptr', $hIcon, 'ptr*', 0) "C:\Users\...\Icons.au3"(625,28) : warning: $ghGDIPDll: possibly used before declaration. $Ret = DllCall($ghGDIPDll, ~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\...\Icons.au3"(625,28) : error: $ghGDIPDll: undeclared global variable. $Ret = DllCall($ghGDIPDll,
argumentum Posted October 9, 2021 Posted October 9, 2021 replace with "$__g_hGDIPDll" and don't be a baby ! Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Parsix Posted October 11, 2021 Posted October 11, 2021 On 10/10/2021 at 1:37 AM, argumentum said: replace with "$__g_hGDIPDll" and don't be a baby ! oh my GOD ! 😱 argumentum 1
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