stefansundin / altdrag

:file_folder: Easily drag windows when pressing the alt key. (Windows)
https://stefansundin.github.io/altdrag/
GNU General Public License v3.0
1.42k stars 94 forks source link

Ramon unch action volume fix #149

Open RamonUnch opened 2 years ago

RamonUnch commented 2 years ago

1) Create the Sned_Key(vkey) function to simply sned key up/down event to the system. 2) Simplify greatly the Volume action by using Sned_Key(VK_VOLUME_UP/VK_VOLUME_DOWN) 3) remove Windows Vista+check because the VKVOLUME* trick works also on Windows XP 4) Remove the CoInitializeEx() call because it is not needed anymore. This removes any dependencies to OLE32.DLL...

Fixes: #148