Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by eddiemjm

  1. eddiemjm

    Store name of MFC child form in string

    When I assign fileName = __FILE__; OR fileName = THIS_FILE; I get a run time error in a dialog box saying "String data, right truncated" ????
  2. eddiemjm

    SetTextColor() with MFC Dialog Boxes?

    How do I set the colour of the output strings in my dialog box?
  3. eddiemjm

    Store name of MFC child form in string

    Newbie. I have a standard MFC application with which I can open .bmp files etc, on the top border the name of the file appears. How can I store the name of the current file that is open into a variable. Is it something to do with #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static...
  4. eddiemjm

    SetTextColor() with MFC Dialog Boxes?

    Newbie. I am not using a HDC control hadle to my dialog box, every code example for setting a text colour I have looked up uses one (e.g. SetTextColor( hDC, m_TextColor );). Here is what I have working // StatsDlg.cpp : implementation file // #include "stdafx.h" #include "ACM.h" #include...

Part and Inventory Search

Back
Top