[Function] GuiButtonIcon
Re: [Function] GuiButtonIcon
Very nice. Easy and small.
Re: [Function] GuiButtonIcon
Nice one. Is it possible to set transparency on the icons? Let's say make the "save" icon half-transparent.
Use
Code: Select all
[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.
Re: [Function] GuiButtonIcon
Very nice! Thanks
-
- Posts: 23
- Joined: 19 Dec 2014, 15:23
Re: [Function] GuiButtonIcon
it is possibel to hide a icon?
like;
GuiControl, Hide%Button2Shown%, Button2
example;
if "A" exist show button2
if "A" not exist hide Button2
Terribel: GuiControl, Hide%Button2Shown%, Button2 was the solution....
like;
GuiControl, Hide%Button2Shown%, Button2
example;
if "A" exist show button2
if "A" not exist hide Button2
Terribel: GuiControl, Hide%Button2Shown%, Button2 was the solution....
Re: [Function] GuiButtonIcon
Long time I was looking for a solution to use an image as a real button with the standard look and effect!
Just found this topic now !
Simple and great, still working fine, so thanks many years later
To add my 2cts I want to remind that you can use also handle to images or other image types (jpg, png etc.)
From Help File on ListView IL_Add
Just found this topic now !
Simple and great, still working fine, so thanks many years later
To add my 2cts I want to remind that you can use also handle to images or other image types (jpg, png etc.)
From Help File on ListView IL_Add
And for other images it seems this should be something likeA bitmap or icon handle can be used instead of a filename. For example, HBITMAP:%handle%.
IL_Add(ImageListID, Filename.jpg (png,...), Transp=0xFFFFFF , ResizeNonIcon=1])
EverFastAccess : Take Notes on anything the Fast way: Attach notes, Set reminders & Speed up research in 1 gesture - AHK topic
AHK Dynamic Obfuscator L - Protect your AHK code by Obfuscation - AHK topic
QuickModules for Outlook : Sort Outlook emails very quickly to multiple folders - AHK topic
Coding takes lots of time and efforts. If I have helped you or if you enjoy one of my free projects, please consider a small donation
Sorry I am working hard at the moment at a new job and can't commit on delays of answers & updates
AHK Dynamic Obfuscator L - Protect your AHK code by Obfuscation - AHK topic
QuickModules for Outlook : Sort Outlook emails very quickly to multiple folders - AHK topic
Coding takes lots of time and efforts. If I have helped you or if you enjoy one of my free projects, please consider a small donation
Sorry I am working hard at the moment at a new job and can't commit on delays of answers & updates
Re: [Function] GuiButtonIcon
DigiDon wrote: ↑12 Feb 2018, 05:44Long time I was looking for a solution to use an image as a real button with the standard look and effect!
Just found this topic now !
Simple and great, still working fine, so thanks many years later
To add my 2cts I want to remind that you can use also handle to images or other image types (jpg, png etc.)
From Help File on ListView IL_AddAnd for other images it seems this should be something likeA bitmap or icon handle can be used instead of a filename. For example, HBITMAP:%handle%.IL_Add(ImageListID, Filename.jpg (png,...), Transp=0xFFFFFF , ResizeNonIcon=1])
Wow! Could you possibly post some examples of using PNGs or JPGs? What would the actual code look like?
Thanks!
A Newbie Needing Help,
Savveo
Re: [Function] GuiButtonIcon
@FanaticGuru I have been using this useful function for years, are you able to make a v2 version please.
- FanaticGuru
- Posts: 1906
- Joined: 30 Sep 2013, 22:25
Re: [Function] GuiButtonIcon
Hotkey Help - Help Dialog for Currently Running AHK Scripts
AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon
Hotstring Manager - Create and Manage Hotstrings
[Class] WinHook - Create Window Shell Hooks and Window Event Hooks
AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon
Hotstring Manager - Create and Manage Hotstrings
[Class] WinHook - Create Window Shell Hooks and Window Event Hooks
Return to “Scripts and Functions (v1)”
Who is online
Users browsing this forum: gwarble and 108 guests