By default, Windows (XP) only displays underlined keyboard shortcuts when ALT is pressed. This can be changed in the display properties in the Effects sub-dialog, so that hotkeys are always underlined
How can this be changed programmatically? What API call or registry setting can I use to change this setting?
I found a solution on how to query and install:
BOOL b SystemParametersInfo(SPI_GETKEYBOARDCUES, 0, &b, 0); if (!b) { b = TRUE; SystemParametersInfo(SPI_SETKEYBOARDCUES, 0, &b, 0); }
Do you want to change this system-wide parameter, or do you want you to override the behavior only in your program?
, API Win32, , WM_CHANGEUISTATE: http://blogs.msdn.com/oldnewthing/archive/2005/05/03/414317.aspx , .
, , .
Source: https://habr.com/ru/post/1698833/More articles:structuring a large web application for multiple developers - jqueryC # refreshing text field from BindingSource - c #Может ли кто-нибудь дать мне пример "привет мир" регистрации в ASP.NET? - logginghttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1698831/porting-matlab-functions-to-scilab-how-do-i-use-symbolic&usg=ALkJrhjl5IvD1ng73fIw2lWfWF5LmFU_oQDisplay image in custom web part from image library - sharepointОбновление программы Google App Engine для использования unicode - pythonConfiguring OnLoad event for recently opened window in IE6 - javascriptCan VS.Net Unit Test run outside of the IDE? - command-lineHow to get an array of duplicate characters from a string using LINQ? - c #Add DataSource Property to WinForms User Control - c #All Articles