title: Underlining first letter of Label C++ (Underline doesn't show)
body: <p><strong>Problem:</strong>
  I wish to underline the first letter of certain static text controls (such as Login and Password).  The letters become underlined when the <code>ALT</code> key is pressed.</p>
  
  <p><strong>What I have tried:</strong>
  In C#, I was able to acheive this by using an ampersand.  Such as "&amp;Log in" or "&amp;Password".  I am trying to find a similar method in C++.  The below picture shows an example in C#:</p>
  
  <p><img src="https://i.stack.imgur.com/mjQhl.gif" alt="Example"></p>
  
  <p><em>I am using MFC/C++ in Visual Studio 2010.</em></p>
  
  <p><strong>Edit:</strong>
  Added information about the <code>ALT</code> key.  Here is an example of what I am trying in Visual Studio 2010's properties box.  I am adding an ampersand to the front of the "Caption"'s text.  </p>
  
  <p><img src="https://i.stack.imgur.com/WkUPr.png" alt="example 2"></p>
  
  <p>When I run my program in the debugger, the first letter is not underlined (until <code>ALT</code> is pressed):
  <img src="https://i.stack.imgur.com/HUldI.png" alt="enter image description here"></p>