Latest WACUP public preview for x86 & x64 is build #22022 (June 29th 2025) (x86 & x64 changelogs)
Latest restricted WACUP beta release is build #22022 (June 29th 2025) (x86 & x64 changelogs)


NOTE: Beta testers are added in a limited & subjective manner as I can only support so many people as part of the beta test program to keep it useful for my needs.

Unless I think you're going to be helpful, not all requests will be accepted but might still be later on. Remember that beta testing is to help me & the limitations currently works for my needs for this project.

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

Aminifu

  • Beta Tester
  • Hero Member
  • *****
  • Posts: 1393
    • 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 beta build v1.99.34.22022 (x86)
modified JVC Tape v1.2a modern skin
Windows 11 Home 64-bit v24H2
Logitech Z906 5.1 speaker system

dro

  • Admin / WACUP Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 5197
    • 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: 1393
    • 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 beta build v1.99.34.22022 (x86)
modified JVC Tape v1.2a modern skin
Windows 11 Home 64-bit v24H2
Logitech Z906 5.1 speaker system

dro

  • Admin / WACUP Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 5197
    • 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: 1393
    • 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 beta build v1.99.34.22022 (x86)
modified JVC Tape v1.2a modern skin
Windows 11 Home 64-bit v24H2
Logitech Z906 5.1 speaker system