"Shift+Delete" and "Ctrl+X"
-
we developed a c++ application which its GUI uses default toolbar buttons (cut, copy, paste). It's strange same executable running on some PCs when user uses mouse hovering on the cut button, the tooltip displays as Cut (Ctrl+X); on some other PCs the tooltip displays as Cut (Shift+Delete). Does anyone know the reason and how to fix it? Since Shift+Delete doesn't do real cut. Thanks
-
we developed a c++ application which its GUI uses default toolbar buttons (cut, copy, paste). It's strange same executable running on some PCs when user uses mouse hovering on the cut button, the tooltip displays as Cut (Ctrl+X); on some other PCs the tooltip displays as Cut (Shift+Delete). Does anyone know the reason and how to fix it? Since Shift+Delete doesn't do real cut. Thanks
-
You developed it, so you need to look at the source code and find out why the menu or the tooltips are different.
As I said in the post the "cut, copy, paste" toolbar buttons are default ones, the tooltip for "Cut" is "Cut the selection and put it on the Clipboard\nCut" was not added by our application. Don't understand why this "Cut" button's tooltip displays differently on different PCs, some PCs show "Ctrl+X", some show "Shift+Delete" which is kind of misleading.
-
As I said in the post the "cut, copy, paste" toolbar buttons are default ones, the tooltip for "Cut" is "Cut the selection and put it on the Clipboard\nCut" was not added by our application. Don't understand why this "Cut" button's tooltip displays differently on different PCs, some PCs show "Ctrl+X", some show "Shift+Delete" which is kind of misleading.
-
What do you mean by default buttons? They will still need to have associated tooltips which are set in the source code.
The default toolbar buttons means when creating this MFC application using application wizard, there is default toolbar generated; we customized other toolbar buttons but leaving "cut, copy, paste" untouched. Thanks
-
The default toolbar buttons means when creating this MFC application using application wizard, there is default toolbar generated; we customized other toolbar buttons but leaving "cut, copy, paste" untouched. Thanks
-
That's true. The problem is in the whole resource file there is no "Shift+Delete" string found. "Ctrl+X" is used for "cut" button. Why does it show "Shift+Delete" when mouse hovering over it on some PCs? Thanks!
-
That's true. The problem is in the whole resource file there is no "Shift+Delete" string found. "Ctrl+X" is used for "cut" button. Why does it show "Shift+Delete" when mouse hovering over it on some PCs? Thanks!
Member 8021796 wrote:
Why does it show "Shift+Delete" when mouse hovering over it on some PCs?
At a guess it is sometimes pulling the resource from a library, but since I don't have access to your codebase it's impossible to be sure. Try to do some further debugging of your code on the systems where it is different.
-
we developed a c++ application which its GUI uses default toolbar buttons (cut, copy, paste). It's strange same executable running on some PCs when user uses mouse hovering on the cut button, the tooltip displays as Cut (Ctrl+X); on some other PCs the tooltip displays as Cut (Shift+Delete). Does anyone know the reason and how to fix it? Since Shift+Delete doesn't do real cut. Thanks
-
Check your (rc) resouce file. Do you have a multi language resource in it? A resource that deal with any language must be set [Neutral].
Thanks! I checked resource file, there is no multi language used. "LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US" is found in rc file.