Search the Community
Showing results for tags 'guictrlcreateicon'.
Found 2 results
So if you embed an animated cursor on a GUI with GUICtrlCreateIcon the animation goes quite slow. Is there a way to speed it up? #include <GUIConstants.au3> GUICreate('', 64, 64) GUICtrlCreateIcon('C:\windows\cursors\aero_busy_l.ani', 0, 0, 0, 64, 64) GUISetState() While GUIGetMsg() <> $GUI_EVENT_CLOSE WEnd Edit: See attached .gif for an example of the difference. On the top is the cursor viewed in an image viewer, on the bottom is in an AutoIt GUI. Notice how much slower it is in AutoIt.
Okay, so here's what I'm dealing with: I'm having a series of icons created from separate GuiCtrlCreateIcon-controls. All them each have a unique icon-name/number to icons inside a .dll. What I'd like to achieve here is to be able of reading that name/number once the icon has been clicked with f.ex. a GuiCtrlRead-command or so. Why I want this done is because I'm then going to use that number in a IniRead-function where that number will be a key with a certain value, so basicly "linking" that icon to that key/line in the .ini. Is this achieveable, or would it just be easier to use a $n = n and then set GuiCtrlCreateIcon(".dll",$n,..,..,..,..) for each icon-control? Thanks in advance! Best regards, zvvyt