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.
Notepad's class name
- Michael Vogel
- Addict
- Posts: 2666
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Notepad's class name
Verified for different Windows Versions in german here, the app uses the class name "Notepad", the document window (it's first child) "Edit".
Re: Notepad's class name
Thanks, Michael!