I need to disable or hide the button "Minimize" for all windows on my PC with Windows7 pro 64bit and Windows10 pro 64bit
I've found the code to use on other posts this code:
Code: Select all
Loop
{
WinSet, Style, -0x20000, A ; WS_MINIMIZEBOX 0x20000
}
But it create a AHK process which uses 99% of CPU and generate visible slow down of the overall system. How can I achieve the same result but avoiding to use the loop which takes so much CPU percentage?
Regards
GP