Problem with FindWindow
-
I want to get the HWND of a window by FindWindow(). The second parameter is the window name, but the window name I am trying to get has a copyright symbol in it (a c with a circle around it). Is there a way that I can have FindWindow() only search for the first few characters in the window name? or is there a way to put a copyright symbol in a string? Any help is appreciated. -Dev578
-
I want to get the HWND of a window by FindWindow(). The second parameter is the window name, but the window name I am trying to get has a copyright symbol in it (a c with a circle around it). Is there a way that I can have FindWindow() only search for the first few characters in the window name? or is there a way to put a copyright symbol in a string? Any help is appreciated. -Dev578
Use the application "Character Map" which comes with windows. In Windows XP, it's located in Start -> Programs -> Accessories -> System Tools. Double click the copyright symbol, click copy, and then paste it into your C++ code. Or use the hex code \0xa9 in the string. Like this:
"Copyright \x0a9 2004"
-- Suche Wissen über Alles. Der Student