Latest WACUP public preview for x86 & x64 is build #22982 (October 31st 2025) (x86 & x64 changelogs)
Latest restricted WACUP beta release is build #22982 (October 31st 2025) (x86 & x64 changelogs)

Author Topic: Protection against accidental click & drag movement of modern skin windows  (Read 11480 times)

Aminifu

  • Beta Tester
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
Hi dro,

Can you add protection against accidental click & drag movement of modern skin windows like you did for classic skin windows?
« Last Edit: June 03, 2025, 11:22:52 PM by Aminifu »
WACUP dev build v1.99.41.22850 (x86)
modified JVC Tape v1.2a modern skin
Windows 11 Home 64-bit v25H2
Logitech Z906 5.1 speaker system

dro

  • Admin / WACUP Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 5418
    • View Profile
    • WACUP (Winamp Community Update Project)
Not in a manner that currently would be of any use based on what I can try doing. For classic skins as I've got full control over the window handling I can determine what is being clicked on so it can still allow for things to work like clicking on the buttons & all of that whilst blocking titlebars allowing moving. Whereas I'm not aware of a way that'd allow me to block just interactions on titlebars due to how gen_ff does its windows along with not being able to determine what that part of the window might actually be. I can put in something so you can try out what I can do but the experiencing from a quick re-test of code I'd previously tried isn't nice as nothing can properly react to the mouse.

etsaman

  • Beta Tester
  • Hero Member
  • *****
  • Posts: 73
    • View Profile
I was looking for a similar feature

https://getwacup.com/community/index.php?topic=1775.msg10457#msg10457

Reply #2 second item.

Ended up locking studio.xnf as a workaround.
At least a restart brings back your original windows layout.

Aminifu

  • Beta Tester
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
Not in a manner that currently would be of any use based on what I can try doing. ...

Ok, I understand the difficulty.

Thank you for replying to this again. I don't remember etsaman's request from last year. I don't want to make studio.xnf read only. I do make regular backups, in case I screw things up really badly. I'll stay with that.
WACUP dev build v1.99.41.22850 (x86)
modified JVC Tape v1.2a modern skin
Windows 11 Home 64-bit v25H2
Logitech Z906 5.1 speaker system

dro

  • Admin / WACUP Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 5418
    • View Profile
    • WACUP (Winamp Community Update Project)
Making the file read-only only helps avoid the change being saved out but from an interaction stance you can still mess around with things so that wouldn't be doing what you're wanting. If there was a way to know what's a title bar area (though there's the issue of the skins with interactive elements within that area) then something more useful could be attempted but I'm not aware of how to do that against the gen_ff dll as I'm re-using.

With the next dev build if you enable the feature on the classic skin prefs page & then go into winamp.ini & change freeze=1 to freeze=2 then you'll see the crude mode that can be done by it generically blocking the mouse click interactions from being passed on to gen_ff.

Aminifu

  • Beta Tester
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
Sometimes I just want to activate a window to bring it to the top, which what you suggest would help with. Other times I want to initiate a command, so blocking the mouse click in that case would not help.

I'll try harder to keep the mouse steady and/or finally learn some keyboard shortcuts.   :)
« Last Edit: June 05, 2025, 08:35:42 PM by Aminifu »
WACUP dev build v1.99.41.22850 (x86)
modified JVC Tape v1.2a modern skin
Windows 11 Home 64-bit v25H2
Logitech Z906 5.1 speaker system