Search found 1058 matches

by Hellbent
05 Apr 2020, 12:48
Forum: Ask For Help
Topic: [Gui] 100% Transparent background and 50% transparent picture Topic is solved
Replies: 4
Views: 381

Re: [Gui] 100% Transparent background and 50% transparent picture Topic is solved

#SingleInstance, Force SetBatchLines, -1 Gui,+AlwaysOnTop +LastFound -Caption +E0x20 Gui,Color,FFFFFF WinSet,Transcolor, FFFFFF 126 Gui,Margin,0,0 Gui,Add,Pic,x0 y0,C:\Users\Hellbent\Desktop\AHK Tools\Color Picker Mini\Screen Shots\20200405134002.png Gui,Show, return GuiClose: GuiContextMenu: *ESC:...
by Hellbent
05 Apr 2020, 12:31
Forum: Ask For Help
Topic: [Gui] 100% Transparent background and 50% transparent picture Topic is solved
Replies: 4
Views: 381

Re: [Gui] 100% Transparent background and 50% transparent picture Topic is solved

is your gui image just a simple shape like the example you posted?
by Hellbent
05 Apr 2020, 12:12
Forum: Scripts and Functions
Topic: [Gdip] How to draw shapes and lines with the mouse
Replies: 12
Views: 2435

Re: [Gdip] How to draw shapes and lines with the mouse

@Hellbent I am very sorry sir, I didn't mean to get personal. I'd have been grateful if someone pointed that out to me. I didn't take it personal, I just was / am confused as to how the code you posted relates to changing the brush and pen properties for this tool on the fly? Also, perhaps I should...
by Hellbent
05 Apr 2020, 10:34
Forum: Ask For Help
Topic: Make the GUI button disabled / grayed Topic is solved
Replies: 13
Views: 755

Re: Make the GUI button disabled / grayed Topic is solved

Albireo If you find using #If too problematic or difficult to implement, you can just use the same concept of using the variable as a extra if statement in your routine. #If WinActive( "ahk_id " GuiHwnd ) ~NumpadEnter:: ~Enter:: GuiControl, 1:-Default, ButtOK GuiControlGet FocusOn, FocusV if ( Focu...
by Hellbent
05 Apr 2020, 09:42
Forum: Scripts and Functions
Topic: [Gdip] How to draw shapes and lines with the mouse
Replies: 12
Views: 2435

Re: [Gdip] How to draw shapes and lines with the mouse

Onimuru Help me out here. What does that have to do with adding a gui that allows the user to select a new color, alpha, and pen thickness? Also, this is more than sufficient to change the actual brush and pen. Gdip_DeleteBrush( pBrush ) Gdip_DeletePen( pPen ) pPen := Gdip_CreatePen("0x" LA ColorLi...
by Hellbent
04 Apr 2020, 14:38
Forum: Ask For Help
Topic: Make the GUI button disabled / grayed Topic is solved
Replies: 13
Views: 755

Re: Make the GUI button disabled / grayed Topic is solved

Thanks! Yes! GuiControl, 1:+Default, ButtOK works in one way. But, now I got another function of the program. My desire is, when the input is correct (123 in this case) and Enter is pressed. A result is created and can be reviewed. (the message Correct number! in this example) The next time Enter i...
by Hellbent
04 Apr 2020, 04:25
Forum: Ask For Help
Topic: Pause a timer loop without pausing the whole script
Replies: 1
Views: 177

Re: Pause a timer loop without pausing the whole script

Give this a try #SingleInstance, Force SetBatchLines, -1 Arr:=["NotePad","Exploer","PowerPoint"] Index := 1 return NumpadEnter:: if (HitToggle4 := !HitToggle4){ SetTimer, Hit4, 4000 GoSub, Hit4 } else { SetTimer, Hit4, Off } return Hit4: WinActivate,% (Index>Arr.Length())?(Arr[Index:=1]):(Arr[Index+...
by Hellbent
04 Apr 2020, 03:43
Forum: Ask For Help
Topic: How do I add a picture to a button I'm too inexperienced Topic is solved
Replies: 2
Views: 267

Re: How do I add a picture to a button I'm too inexperienced Topic is solved

To add to what Boiler said, you can also check out
ImageButtons by justme for a more advanced method.
by Hellbent
04 Apr 2020, 03:19
Forum: Ask For Help
Topic: Child gui is always behind Parent gui Topic is solved
Replies: 19
Views: 1018

Re: Child gui is always behind Parent gui Topic is solved

@kyuuuri
Cool, I had played around with a bunch of combos but none had the desired effect. Thanks for sharing your solution.
by Hellbent
02 Apr 2020, 15:37
Forum: Ask For Help
Topic: Asking for a huge help
Replies: 6
Views: 439

Re: Asking for a huge help

Perhaps this? #SingleInstance, Force Coordmode, Mouse, Window ;Change as needed. Positions := [{X1:0,Y1:300,X2:30,Y2:350},{X1:60,Y1:300,X2:90,Y2:350},{X1:120,Y1:300,X2:150,Y2:350},{X1:180,Y1:300,X2:210,Y2:350}] ;Change positions as needed. return Ran(Min,Max){ Random,Out,Min,Max return Out } g:: Sen...
by Hellbent
02 Apr 2020, 02:11
Forum: Ask For Help
Topic: Child gui is always behind Parent gui Topic is solved
Replies: 19
Views: 1018

Re: Child gui is always behind Parent gui Topic is solved

I found the fix. The problem was caused by an image on the parent gui. My structure was: + ParentGui with backgroundImage + ChildGui with controls To fix the problem I simply added another child gui between them: + ParentGui + ChildGui with backgroundImage + ChildGui with controls That sounds a lot...
by Hellbent
02 Apr 2020, 01:39
Forum: Scripts and Functions
Topic: [Editor/Code Generator] Gdip Bitmap Maker (v0.1.8 March 29th, 2020)
Replies: 54
Views: 12730

Re: [Editor] Gdip Bitmap Maker (v0.1.8 March 29th, 2020)

Hello Hellbent I see your youtube video and knew this was going to change everything. I am running into a few problems with the general view of the whole GUI, see image below. The default view size is hiding certain functions. I downloaded the latest version btw. https://imgur.com/a/Ft099IU Please ...
by Hellbent
01 Apr 2020, 17:42
Forum: Ask For Help
Topic: Child gui is always behind Parent gui Topic is solved
Replies: 19
Views: 1018

Re: Child gui is always behind Parent gui Topic is solved

is there any way to set the redraw option for the entire gui? My parent gui will have more controls than a simple picture I can't find one to do the whole gui, you can cycle through your controls #SingleInstance, Force #NoEnv SetBatchLines, -1 SetControlDelay,-1 Hwnds := [] Gui, background:New, +hw...
by Hellbent
01 Apr 2020, 16:03
Forum: Ask For Help
Topic: Child gui is always behind Parent gui Topic is solved
Replies: 19
Views: 1018

Re: Child gui is always behind Parent gui Topic is solved

Ok, I think I have it.

***Edit***
Fixed a issue with the button displaying in certain cases
by Hellbent
01 Apr 2020, 14:37
Forum: Ask For Help
Topic: Child gui is always behind Parent gui Topic is solved
Replies: 19
Views: 1018

Re: Child gui is always behind Parent gui Topic is solved

That's a good workaround, is there any way to set the redraw option for the entire gui? My parent gui will have more controls than a simple picture I was thinking winset, but I didn't bother to look it up. Here replace the code in the f4 hotkey with this gui, child:show, Gui, child:+LastFound WinSe...
by Hellbent
01 Apr 2020, 14:14
Forum: Ask For Help
Topic: Child gui is always behind Parent gui Topic is solved
Replies: 19
Views: 1018

Re: Child gui is always behind Parent gui Topic is solved

That works BUT if I submit the child gui and then show it again, the child gui will be behind the parent again. This does that for me. Give it a try. Gui, background:New, +hwndhParent -caption Gui, child: New, +Parentbackground +HWNDhChild1 -0x80000000 +0x40000000 +E0x00010000 Gui, child: Add, Pict...
by Hellbent
01 Apr 2020, 12:56
Forum: Ask For Help
Topic: Child gui is always behind Parent gui Topic is solved
Replies: 19
Views: 1018

Re: Child gui is always behind Parent gui Topic is solved

If having the child window show transparency is something you want, you may want to consider using a Layered Window. Similar to this, but yours would only require 1 layered window whereas this one uses 3. ;**********************************************************************************************...
by Hellbent
01 Apr 2020, 12:37
Forum: Ask For Help
Topic: Child gui is always behind Parent gui Topic is solved
Replies: 19
Views: 1018

Re: Child gui is always behind Parent gui Topic is solved

Moving the parent Pic control after the 2nd window is created seems to make a difference for me. Gui, background:New, +hwndhParent Gui, child: New, +Parentbackground +HWNDhChild1 -0x80000000 +0x40000000 +E0x00010000 Gui, child: Add, Picture, x5 y5 w500 h500 BackgroundTrans, website.jpg Gui, child: -...

Go to advanced search