title: MFC SDI read from an INI and update view string while changing attributes
body: <p>First time post, so forgive any improper etiquette i may bring.</p>
  
  <p>My title briefly describes the problem i have. I have a school project where I start with a MFC application with a single document view and i need to display just a simple text onto my view BUT this text comes from a simple INI file. </p>
  
  <pre><code>LPCTSTR path = _T("C:\\Users\\Steve\\Documents\\WhereDataIs.ini");
  TCHAR INIValue[256];
  GetPrivateProfileString(_T("SETUP"), _T("Introduction"), _T("File Could Not Be Found"), INIValue, 256, path);
  </code></pre>
  
  <p>Okay now my ini file just contains this...</p>
  
  <pre><code>[SETUP]
  
  Introduction = Here is your data
  </code></pre>
  
  <p>Up to this point, everything is going well. The next step is to grab the 'static text box' i created in the resource editor and change it to the data from the ini which is just 'Here is your data'.</p>
  
  <pre><code>SetDlgItemText(StringToChange, INIValue);
  </code></pre>
  
  <p>and this works perfect. So i managed to change what i wanted as desired but now comes the hard part. I need to bold the entire string before using</p>
  
  <pre><code>SetDlgItemText(StringToChange, INIValue);
  </code></pre>
  
  <p>I have run into so many problems in the last 5 days. I have tried everything i have run across on google and stack overflow. I ran into trying to use a RTF control? trying to convert to html bolding it and then coming back? issues with 8bit or 16bit? unicode or something along those lines. i've ran into macros like _T("some string") that apparently doesn't take a variable of type string. Nothing has worked for me. What i really could use is some kind of example, it doesn't have to relate to mine at all. Something i can work with a base from. And before you link me to another website or a previous post - i guarantee you I've already looked at it and tried it. I'd really like someone to post a small part of code to help get me started. </p>