Quote:
What function are you using to create the menus?
Are you using MenuTitle() and MenuItem() ?
See below:
Code:
hMenuSys = CreatePopupMenu(0)
MenuItem(#SC_RESTORE,"Restore")
MenuItem(#SC_MOVE,"Move")
MenuItem(#SC_SIZE,"Size")
MenuItem(#SC_MINIMIZE,"Minimize")
MenuItem(#SC_MAXIMIZE,"Maximize")
MenuBar()
MenuItem(#SC_CLOSE,"Close" + Chr(9) + "Alt+F4")
lpmii.MENUITEMINFO
lpmii\cbSize = SizeOf(MENUITEMINFO)
lpmii\fMask = #MIIM_STATE
lpmii\fState = #MFS_DEFAULT
SetMenuItemInfo_(hMenuSys,#SC_RESTORE,0,lpmii)
Quote:
Anyway, if you run a normal windows, that is one especial for the country it it intedet to sell to, I don't think you will find any translated strings in the Windows DLLs, as they are localiced to the specific country.
I think you misundertsand me here. I'm not looking for translated strings nor do I want to detect wich language an OS is running to translate my menu strings acordingly. I am looking for their location as they are stored in a system DLL or similar. Just like any other language dependent string.
Just an example:
1.) Get a resource editor like
ResourceHacker2.) Open shell32.dll
3.) Open the "String Table" resource
4.) Open Item #396 and view it's content
If you done everything right you should see the following data:
Quote:
6327, "Eine Datei mit dem angegebenen Namen ist bereits vorhanden. Geben Sie einen anderen Dateinamen an."
This is the german message for:
Quote:
6327, "A file with the specified name already exists. Enter another filename."
So this particular string has an ID of #6327. This indentifier is equal on
ALL Windows Systems. So if you now create an application and load the string from the shell32.dll with the ID of #6327 it will output the same result regardless wich language your OS is running in.
Hope the helped to clarify my request.
PS: Ich komm' auch aus Hamburg!
