Notepad's class name
Posted: Sat Mar 03, 2018 12:37 pm
Is the class name for Notepad always "Notepad" in non-English versions of Windows? I need to find a Notepad window and don't want to rely on the title, as I know this will be different in different languages. This post appears to say yes:
https://social.msdn.microsoft.com/Forum ... ndow-class
Can I rely on that? Thanks.
BTW, reason for asking: I want to open a new Notepad window (not on disk) and put text in it. I have done this successfully using #WM_SETTEXT, but I'm worried about the class name being different and my code not working on a non-English PC.
https://social.msdn.microsoft.com/Forum ... ndow-class
Can I rely on that? Thanks.

BTW, reason for asking: I want to open a new Notepad window (not on disk) and put text in it. I have done this successfully using #WM_SETTEXT, but I'm worried about the class name being different and my code not working on a non-English PC.