He mirado por los foros pero lo poco que encuentro dicen que no hay nada.
Code: Select all
Gui, Add, Button, x10 y50 gBvol, Volver
Gui, Show, x300 y300 h470 w750, Selección
Bvol:
MsgBox "Funciona
Return
Moderator: Flipeador
Code: Select all
Gui, Add, Button, x10 y50 gBvol, Volver
Gui, Show, x300 y300 h470 w750, Selección
Bvol:
MsgBox "Funciona
Return
Code: Select all
SetBatchLines, -1
#SingleInstance, force
;------------------------------------------------------- Class ImageButton by just me
; https://www.autohotkey.com/boards/viewtopic.php?t=1103
#Include Class_ImageButton.ahk
; for v1.5 add UseGDIP.ahk or Include them into Class_ImageButton.ahk
#Include UseGDIP.ahk
Gui, Add, Button, x10 y50 gBvol hWndhBtn23, Volver
IBBtnStyles := [ [0, 0x80C6E6C6, , , 0, , 0x805CB85C, 1] ; normal
, [0, 0x8091CF91, , , 0, , 0x805CB85C, 1] ; hover
, [0, 0x805CB85C, , , 0, , 0x805CB85C, 1] ; pressed
, [0, 0x80F0F0F0, , , 0, , 0x805CB85C, 1] ]
ImageButton.Create(hBtn23, IBBtnStyles*)
Gui, Show, x300 y300 h470 w750, Selección
Return
Bvol:
MsgBox "Funciona
Return
Buffff, me has dado media vida, te lo agradezco mucho, voy a investigarlo y ver si lo puedo ir incluyendo, muchas gracias por responder y la ayuda prestada.w0z wrote: ↑01 Aug 2021, 09:33Ejemplo usando la clase creada por just me
Puedes descargar de los enlaces en el siguiente Topic.
https://www.autohotkey.com/boards/viewtopic.php?t=1103
Necesitaras ubicar los archivos descargados Class_ImageButton.ahk y UseGDIP.ahk en la misma ubicacion o carpeta de tu script.
o simplemente copiar el contenido de las clases en tu archivo asi ya no tendras que utilizar el #Include Class_ImageButton.ahk ,#Include UseGDIP.ahk
El ejemplo es de jNizM https://www.autohotkey.com/boards/viewtopic.php?p=409253#p409253Code: Select all
SetBatchLines, -1 #SingleInstance, force ;------------------------------------------------------- Class ImageButton by just me ; https://www.autohotkey.com/boards/viewtopic.php?t=1103 #Include Class_ImageButton.ahk ; for v1.5 add UseGDIP.ahk or Include them into Class_ImageButton.ahk #Include UseGDIP.ahk Gui, Add, Button, x10 y50 gBvol hWndhBtn23, Volver IBBtnStyles := [ [0, 0x80C6E6C6, , , 0, , 0x805CB85C, 1] ; normal , [0, 0x8091CF91, , , 0, , 0x805CB85C, 1] ; hover , [0, 0x805CB85C, , , 0, , 0x805CB85C, 1] ; pressed , [0, 0x80F0F0F0, , , 0, , 0x805CB85C, 1] ] ImageButton.Create(hBtn23, IBBtnStyles*) Gui, Show, x300 y300 h470 w750, Selección Return Bvol: MsgBox "Funciona Return
Users browsing this forum: No registered users and 4 guests