Click here to Skip to main content
15,905,914 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C: warning: excess elements in array initializer Pin
Richard MacCutchan31-Aug-17 0:47
mveRichard MacCutchan31-Aug-17 0:47 
GeneralRe: C: warning: excess elements in array initializer Pin
Richard Andrew x6431-Aug-17 11:55
professionalRichard Andrew x6431-Aug-17 11:55 
GeneralRe: C: warning: excess elements in array initializer Pin
k505431-Aug-17 12:21
mvek505431-Aug-17 12:21 
GeneralRe: C: warning: excess elements in array initializer Pin
Richard Andrew x6431-Aug-17 12:23
professionalRichard Andrew x6431-Aug-17 12:23 
GeneralRe: C: warning: excess elements in array initializer Pin
k505431-Aug-17 12:47
mvek505431-Aug-17 12:47 
GeneralRe: C: warning: excess elements in array initializer Pin
Jochen Arndt31-Aug-17 13:14
professionalJochen Arndt31-Aug-17 13:14 
QuestionError deleting first column in CListCtrl Pin
Member 86892625-Aug-17 10:09
Member 86892625-Aug-17 10:09 
AnswerRe: Error deleting first column in CListCtrl Pin
Rick York25-Aug-17 12:35
mveRick York25-Aug-17 12:35 
Either look using the debugger or put in a trace statement but make sure the sub item value is what you expect it to be.

That's the only idea I have because I know that calling DeleteColumn(0) works because I do it often. One of the weird things with the list control is you can't set the first column to be right-justified so the work-around is to add one more column than needed, set column 1 to be right-justified, and then delete column 0. BTW - this was true with older versions and I don't know if it is still necessary. I do it anyway because it still works.
GeneralRe: Error deleting first column in CListCtrl Pin
Member 86892626-Aug-17 11:00
Member 86892626-Aug-17 11:00 
QuestionRe: Error deleting first column in CListCtrl Pin
David Crow25-Aug-17 16:41
David Crow25-Aug-17 16:41 
SuggestionRe: Error deleting first column in CListCtrl Pin
Jochen Arndt25-Aug-17 22:31
professionalJochen Arndt25-Aug-17 22:31 
AnswerRe: Error deleting first column in CListCtrl Pin
Victor Nijegorodov27-Aug-17 7:51
Victor Nijegorodov27-Aug-17 7:51 
GeneralRe: Error deleting first column in CListCtrl Pin
Member 8689264-Sep-17 0:01
Member 8689264-Sep-17 0:01 
AnswerRe: Error deleting first column in CListCtrl Pin
Victor Nijegorodov27-Aug-17 7:55
Victor Nijegorodov27-Aug-17 7:55 
QuestionDebug Assertion in Release wrong version of MFC Shared DLL Pin
ForNow24-Aug-17 13:44
ForNow24-Aug-17 13:44 
AnswerRe: Debug Assertion in Release wrong version of MFC Shared DLL Pin
leon de boer24-Aug-17 19:15
leon de boer24-Aug-17 19:15 
GeneralRe: Debug Assertion in Release wrong version of MFC Shared DLL Pin
ForNow24-Aug-17 20:32
ForNow24-Aug-17 20:32 
AnswerRe: Debug Assertion in Release wrong version of MFC Shared DLL Pin
Jochen Arndt24-Aug-17 21:13
professionalJochen Arndt24-Aug-17 21:13 
GeneralRe: Debug Assertion in Release wrong version of MFC Shared DLL Pin
ForNow25-Aug-17 2:26
ForNow25-Aug-17 2:26 
GeneralRe: Debug Assertion in Release wrong version of MFC Shared DLL Pin
Jochen Arndt25-Aug-17 2:41
professionalJochen Arndt25-Aug-17 2:41 
GeneralRe: Debug Assertion in Release wrong version of MFC Shared DLL Pin
ForNow25-Aug-17 2:54
ForNow25-Aug-17 2:54 
GeneralRe: Debug Assertion in Release wrong version of MFC Shared DLL Pin
Jochen Arndt25-Aug-17 3:08
professionalJochen Arndt25-Aug-17 3:08 
QuestionCreating Custom Controls in MFC Pin
Bram van Kampen23-Aug-17 14:01
Bram van Kampen23-Aug-17 14:01 
AnswerRe: Creating Custom Controls in MFC Pin
Rick York23-Aug-17 15:53
mveRick York23-Aug-17 15:53 
AnswerRe: Creating Custom Controls in MFC Pin
Richard MacCutchan23-Aug-17 21:11
mveRichard MacCutchan23-Aug-17 21:11 

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.