Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help required about c language localtime function Pin
David Crow20-Jan-09 7:12
David Crow20-Jan-09 7:12 
GeneralRe: Help required about c language localtime function Pin
Umer Aziz20-Jan-09 7:19
Umer Aziz20-Jan-09 7:19 
Questionhow to send a file path from shell extension dll to an application Pin
Nitheesh George20-Jan-09 5:32
Nitheesh George20-Jan-09 5:32 
AnswerRe: how to send a file path from shell extension dll to an application Pin
Code-o-mat20-Jan-09 5:53
Code-o-mat20-Jan-09 5:53 
QuestionSutter/Alexandrescu explanation of Exceptions Pin
Member 260377220-Jan-09 5:29
Member 260377220-Jan-09 5:29 
AnswerRe: Sutter/Alexandrescu explanation of Exceptions Pin
Stuart Dootson20-Jan-09 6:02
professionalStuart Dootson20-Jan-09 6:02 
AnswerRe: Sutter/Alexandrescu explanation of Exceptions Pin
Nemanja Trifunovic20-Jan-09 6:20
Nemanja Trifunovic20-Jan-09 6:20 
QuestionCListBox string wrapping Pin
nuclph20-Jan-09 5:00
nuclph20-Jan-09 5:00 
Dear All,

I just started to use MFC library together with Visual Studio 2008 to wrap around my
mathematical engine which I build as a console application.

I hope my question will be easy to answer. I have CListBox object which I fill time to time with error messages in catch block:

....
catch (std::exception& ex)
{
std::string str = ex.what();
m_List.AddString(str.c_str() );
}
....
Sometimes, error messages are longer then physical width of CListBox object and as a result truncated.

As far as I see, CListBox object does not have property in "Property list" to explicitly specify string/word wrapping. There are few properties such as "Multicolumn", "Horizontal Scroll", "Disable No Scroll" which does not help me to make it possible to view all length of error messages.

I am sure it must be easy way to do it. I hope someone will have some suggestions/comments about it issue.

Thank you in advance,
nuclph.
AnswerRe: CListBox string wrapping Pin
Stuart Dootson20-Jan-09 5:47
professionalStuart Dootson20-Jan-09 5:47 
AnswerRe: CListBox string wrapping Pin
Iain Clarke, Warrior Programmer20-Jan-09 6:11
Iain Clarke, Warrior Programmer20-Jan-09 6:11 
GeneralRe: CListBox string wrapping Pin
Nibu babu thomas20-Jan-09 16:57
Nibu babu thomas20-Jan-09 16:57 
GeneralRe: CListBox string wrapping Pin
Iain Clarke, Warrior Programmer20-Jan-09 21:54
Iain Clarke, Warrior Programmer20-Jan-09 21:54 
QuestionLabel box in MFC Pin
bhanu_850920-Jan-09 2:48
bhanu_850920-Jan-09 2:48 
AnswerRe: Label box in MFC Pin
Cedric Moonen20-Jan-09 2:54
Cedric Moonen20-Jan-09 2:54 
GeneralRe: Label box in MFC Pin
bhanu_850920-Jan-09 3:01
bhanu_850920-Jan-09 3:01 
Questionfacing problem on Listing files in List box Control Pin
m_mun20-Jan-09 1:08
m_mun20-Jan-09 1:08 
AnswerRe: facing problem on Listing files in List box Control Pin
Nibu babu thomas20-Jan-09 1:16
Nibu babu thomas20-Jan-09 1:16 
GeneralRe: facing problem on Listing files in List box Control Pin
m_mun20-Jan-09 2:00
m_mun20-Jan-09 2:00 
AnswerRe: facing problem on Listing files in List box Control Pin
Code-o-mat20-Jan-09 1:21
Code-o-mat20-Jan-09 1:21 
GeneralRe: facing problem on Listing files in List box Control Pin
m_mun20-Jan-09 2:02
m_mun20-Jan-09 2:02 
GeneralRe: facing problem on Listing files in List box Control Pin
krmed20-Jan-09 2:03
krmed20-Jan-09 2:03 
QuestionProblem in ShellExecuteEx. Pin
SNI20-Jan-09 1:01
SNI20-Jan-09 1:01 
AnswerRe: Problem in ShellExecuteEx. Pin
Code-o-mat20-Jan-09 1:08
Code-o-mat20-Jan-09 1:08 
GeneralRe: Problem in ShellExecuteEx. Pin
SNI20-Jan-09 1:26
SNI20-Jan-09 1:26 
GeneralRe: Problem in ShellExecuteEx. Pin
Code-o-mat20-Jan-09 2:02
Code-o-mat20-Jan-09 2:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.