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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Does _base64decode$ and _inflate$ work when used together? Dav 5 540 11-21-2025, 06:59 AM
Last Post: Pete
  CAN someone please get the graphics in this to work? Dragoncat 3 663 05-07-2025, 12:17 PM
Last Post: bplus
  Even robocopy doesn't work krovit 3 968 08-15-2024, 11:36 AM
Last Post: mdijkens
  Does _MapTriangle work in a user defined Window? bplus 12 2,292 02-16-2024, 01:40 AM
Last Post: bplus
Bug I want it to work so bad.... NasaCow 39 9,046 11-30-2022, 10:30 PM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)