Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetWindowTextW - can you get it to work?
#9
(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.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
RE: GetWindowTextW - can you get it to work? - by TerryRitchie - 06-10-2024, 07:37 PM



Users browsing this thread: 1 Guest(s)