EDIT: Using Color.FromArgb(31,31,32)
for the BackColor
instead of Color.FromArgb(32,32,32)
fixed it... I hate windows sometimes.
I have a program that has the background set to be transparent with a TransparencyKey, and whenever you click on any transparent areas, the click goes through the window and onto anything behind it. This is unwanted behaviour, and every solution I've found doesn't work. This problem only needs to be fixed on Windows 11 (22000+) so if it's specific to that it's fine.
I've tried the answer here and the 2 linked questions, and I tried translating this VB.NET code but neither did anything.