Search found 2 matches

by CChaos
18 Sep 2021, 03:30
Forum: Ask for Help (v2)
Topic: How to add picture and different size text (like emojis) to a GUI button? Topic is solved
Replies: 3
Views: 1125

Re: How to add picture and different size text (like emojis) to a GUI button? Topic is solved

Cool! I checked the topic you mentioned and the source code on github. It is using SendMessage funtion to sent BM_SETIMAGE to the button control. The code will be something like this: a := Gui(,'test') name := 'tester' pic := A_WorkingDir '\Compiler\Ahk2Exe.ico' b := [] loop 6 { b.push(0) tPX := 100...
by CChaos
16 Sep 2021, 02:12
Forum: Ask for Help (v2)
Topic: How to add picture and different size text (like emojis) to a GUI button? Topic is solved
Replies: 3
Views: 1125

How to add picture and different size text (like emojis) to a GUI button? Topic is solved

I'm trying to add icon to button in order to make them more distinguishable. something like this: https://files.catbox.moe/22b2i1.png a := Gui(,'test') name := 'tester' emo := '✔️' pic := '%A_ScriptPath%\Compiler\Ahk2Exe.ico' loop 6 { ty := (A_Index-1) // 2 + 1 tx := Mod(A_Index-1, 2) + 1 tPX := 100...

Go to advanced search