title: How to print bold string in C++?
body: <p>I got an old application which was written in a C++. I have 0 experience with it but I am suppose to make some changes in app. One of them is to change some text. Problem is that part of updated text needs to be bold, but i have no idea how to do that. I googled but with no much success. Only think I now is to go to new line with <code>\n</code>and new tab with <code>\t</code>.</p>
  
  <p>Any clever advise?</p>
  
  <p><strong>EDIT:</strong><br>
  Example of code:</p>
  
  <pre><code>BEGIN
      STRING1                              "First Example"
      STRING2                              "Second Example"
  </code></pre>
  
  <p>And place where STRING1 is used:</p>
  
  <pre><code>// WelcomeTip ---------------------------------------------//
      LPSTR idsWelcomeTip = (LPSTR)GlobalAlloc(GPTR, sizeof(CHAR) * 4098 );
      LoadString( waveInDlg-&gt;hInstance, STRING1, idsWelcomeTip, 4098 );
      waveInDlg-&gt;hwndWelcomeTip = CreateWindow(
          "STATIC",
          idsWelcomeTip,
          WS_CHILD | WS_VISIBLE | SS_LEFT,
          CW_USEDEFAULT,
          CW_USEDEFAULT,
          CW_USEDEFAULT,
          CW_USEDEFAULT,
          waveInDlg-&gt;hwnd,
          NULL,
          waveInDlg-&gt;hInstance,
          NULL
      );
      SetWindowLongPtr(waveInDlg-&gt;hwndWelcomeTip, GWLP_USERDATA ,(LONG)waveInDlg );
      SendMessage(waveInDlg-&gt;hwndWelcomeTip, WM_SETFONT , (WPARAM)waveInDlg-&gt;hFontDefault , TRUE );
      ShowWindow(waveInDlg-&gt;hwndWelcomeTip, SW_HIDE);
      GlobalFree( (HGLOBAL)idsWelcomeTip );
  </code></pre>
  
  <p>Thanks,
  <br>Ile</p>