Forum: help
Monitor Forum | Start New ThreadRE: Disable "New Key" Dialogue [ Reply ] By: Timo Schulz on 2007-09-28 18:46 | [forum:1162] |
This problem is related to the positions in the menu. For the sake of simplicity, I assumed hard coded positions for entries and translations. If you add and remove items, the translation will be messed up. |
RE: Disable "New Key" Dialogue [ Reply ] By: Florian Roth on 2007-09-28 09:47 | [forum:1161] |
I changed the //MENUITEM SEPARATOR to MENUITEM SEPARATOR and voila ... it worked. Now I have a GRAYED "Neu" ... thats ok ;) |
Disable "New Key" Dialogue [ Reply ] By: Florian Roth on 2007-09-28 08:08 | [forum:1160] |
I compiled the source, nice. But my aim was to delete the Button "New" and Submenus from the program. What I did before compiling was: ### in Src/WinPT-en.rc ### line 2102 BEGIN //POPUP "&New" //BEGIN // MENUITEM "&Normal", ID_KEYMISC_KEYWIZARD // MENUITEM "&Expert", ID_KEYMISC_NEWKEY // MENUITEM "&Smartcard", ID_KEYMISC_CARDNEW //END //MENUITEM SEPARATOR MENUITEM "&Edit", ID_KEYMISC_EDITKEY MENUITEM "&Sign", ID_KEYMISC_SIGN MENUITEM "&Delete", ID_KEYMISC_DELETE MENUITEM "&Revoke Cert", ID_KEYMISC_REVCERT ### in Po/de.po ### line 3427 # c:\oss\winpt-gpgme\src\wptKeyManagerDlg.cpp:499 #: Src/wptKeyManagerDlg.cpp:1679 #msgid "New" #msgstr "Neu" But the result is as follows: The Popup-Group "Neu" (New) disappeared. Cool. But the Button, formerly known as "Bearbeiten" (Edit) is now namend "Neu" (german for "New"). Now I got an button called "Neu" with function "edit". Why? What the hack... Anybody able to help me... ? |