06-10-2024, 07:37 PM
(06-10-2024, 11:08 AM)SpriggsySpriggs Wrote: GetWindowTextW would require you to handle wide strings. I don't recommend unless you plan on making your whole program operate on wide strings. It can be done, as I did with my Win32 Media Player. However, it is quite the hassle.Yep, I ended up using GetWindowTextA since it works for what I need but I do plan to investigate GetWindowTextW as it appears the return string is just padded with spaces and the return length needs to be multiplied by 2 ... I think.