08-18-2023, 06:53 PM
(This post was last modified: 08-18-2023, 06:53 PM by SpriggsySpriggs.)
A delay of 0.25 is good. You might be able to also just pass it 0 instead of WINDOWHANDLE. Some API calls will default to the handle of the calling window when 0 is passed. I can't guarantee that GetClientRect is one of those.
Ask me about Windows API and maybe some Linux stuff