Search found 11 matches

by twiz
14 Jan 2024, 12:15
Forum: Scripts and Functions (v1)
Topic: LV_SetSelColors() - user-defined selection colors for ListViews
Replies: 30
Views: 6210

Re: LV_SetSelColors() - user-defined selection colors for ListViews

just me wrote:
14 Jan 2024, 05:30
It's a known issue with ListView custom drawing and AHK v1. It's eliminated as far as possible in AHK v2.
Ah, ok. Thanks... Might have to make the jump then.
by twiz
13 Jan 2024, 19:15
Forum: Scripts and Functions (v1)
Topic: LV_SetSelColors() - user-defined selection colors for ListViews
Replies: 30
Views: 6210

Re: LV_SetSelColors() - user-defined selection colors for ListViews

I've found that using LV_SetSelColors() causes column text(?), and any text in the columns it's maximum expanded size overlaps, to disappear (have not tested if it affects functionality) on resize/update, and on my full script it semi-'locks up' and prevents the window from closing outside of killin...
by twiz
01 Nov 2022, 12:49
Forum: Ask for Help (v1)
Topic: Odd behavior of "% %A_ThisLabel%" inside function
Replies: 6
Views: 439

Re: Odd behavior of "% %A_ThisLabel%" inside function

Using Subroutines Within a Function When a function is entered by a subroutine thread, any references to dynamic variables made by that thread are treated as globals (including commands that create arrays). But I'm not entering the function through a subroutine, I'm entering a subroutine within the...
by twiz
01 Nov 2022, 01:33
Forum: Ask for Help (v1)
Topic: Odd behavior of "% %A_ThisLabel%" inside function
Replies: 6
Views: 439

Odd behavior of "% %A_ThisLabel%" inside function

Start with a simple script: Loop 3, Add Radio buttons with matching HWND and gLabels. Click a Radio, it's gLabel and HWND are displayed in a ToolTip. Everything works as expected, and no issues. % A_ThisLable returns the Label used, and % %A_ThisLabel% returns the HWND of the control. Gui, +hwndGuiI...
by twiz
12 Jun 2022, 07:54
Forum: Ask for Help (v1)
Topic: GDI+ Scaling image causing (semi)-transparent pixels on edge Topic is solved
Replies: 2
Views: 322

Re: GDI+ Scaling image causing (semi)-transparent pixels on edge Topic is solved

gregster wrote:
12 Jun 2022, 01:46
Perhaps tmplinshi's Scale9 project can help you: viewtopic.php?f=6&t=67216&p=290126
Thanks.
Apparently the issue was with me splitting the image up first, then scaling.
by twiz
11 Jun 2022, 23:47
Forum: Ask for Help (v1)
Topic: GDI+ Scaling image causing (semi)-transparent pixels on edge Topic is solved
Replies: 2
Views: 322

GDI+ Scaling image causing (semi)-transparent pixels on edge Topic is solved

I wrote a function using GDI+ to mimic the function of PNG9/BMP9 -- One image is divided into 9 parts, each of the 4 corners are left un-scaled, the 2 horizontal edges are scaled horizontally, the 2 vertical edges are scaled vertically, and the center is scaled both horizontally and vertically. The ...
by twiz
20 May 2021, 01:40
Forum: Scripts and Functions (v1)
Topic: [CLASS] LiveThumb - DWM thumbnail implementation
Replies: 16
Views: 6867

Re: [CLASS] LiveThumb - DWM thumbnail implementation

Do you know how/if it's possible to "process" (i.e. adjust hue/saturation/brightness/contrast of) the thumbnail before it's shown?

Thank you so much for this!
by twiz
20 May 2021, 01:14
Forum: Gaming Help (v1)
Topic: fix please
Replies: 3
Views: 222

Re: fix please

I think the problem is you are using "If !ErrorLevel Return", so if the first PixelSearch found the correct pixel it would NEVER get to the second PixelSearch. The only way the script would send F2 is if the pixels were missing from BOTH searches. wTitle = MEmu SetKeyDelay, 100 Loop { WinWait, %wTit...
by twiz
12 Jul 2015, 21:49
Forum: Ask for Help (v1)
Topic: Request help with improving my RegEx File Renamer
Replies: 0
Views: 585

Request help with improving my RegEx File Renamer

On a previous script of mine (RegEx File Search), I was told there was some RegEx I could use (along the lines of ^, $, and .* on either end) depending on how I wanted my search to work. Now I'm in a similar situation, where I'm curious as to possible options to have always included in my RegEx. Unf...
by twiz
08 Nov 2013, 05:05
Forum: Ask for Help (v1)
Topic: Mouse not responding after code is run
Replies: 1
Views: 1339

Mouse not responding after code is run

I'm having a bit of a problem where Windows stops responding to my mouse after running a bit of code. What happens is, after I press one of the thumb buttons on my mouse, everything that wasn't the active window stops "noticing" the mouse: Clicks don't work, and mousing over buttons don't cause them...

Go to advanced search