I can trun off the 'Hide underlined letters for keyboard navigation until I press the ALt key' feature using the WAPI like this (Delphi)
ul := true;
systemparametersinfo(SPI_SETKEYBOARDCUES,0,@ul,SPIF_UPDATEINIFILE + SPIF_SENDCHANGE);
But I can't reverse the effect by using
ul := false;
systemparametersinfo(SPI_SETKEYBOARDCUES,0,@ul,SPIF_UPDATEINIFILE + SPIF_SENDCHANGE);
Can anyone tell me what I am doing wrong?