Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: About 32/64 bit operating system, application compatibility issues Pin
Yusuf21-Jul-10 7:08
Yusuf21-Jul-10 7:08 
AnswerRe: About 32/64 bit operating system, application compatibility issues Pin
David Crow21-Jul-10 7:41
David Crow21-Jul-10 7:41 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 [modified] Pin
sunlin721-Jul-10 3:13
sunlin721-Jul-10 3:13 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 Pin
Randor 21-Jul-10 14:03
professional Randor 21-Jul-10 14:03 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 Pin
xjh_sz21-Jul-10 14:59
xjh_sz21-Jul-10 14:59 
QuestionDeleting all columns in CListCtrl Pin
kishorekumar146 20-Jul-10 23:21
kishorekumar146 20-Jul-10 23:21 
AnswerRe: Deleting all columns in CListCtrl Pin
Code-o-mat20-Jul-10 23:26
Code-o-mat20-Jul-10 23:26 
AnswerRe: Deleting all columns in CListCtrl Pin
«_Superman_»21-Jul-10 0:14
professional«_Superman_»21-Jul-10 0:14 
I suspect you're giving the column index to the DeleteColumn function.
Instead always use the index of 0.

This is from the documentation of DeleteColumn.
int nColumnCount = m_myListCtrl.GetHeaderCtrl()->GetItemCount();

// Delete all of the columns.
for (int i=0; i < nColumnCount; i++)
{
   m_myListCtrl.DeleteColumn(0);
}

«_Superman

I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++)

Polymorphism in C







GeneralRe: Deleting all columns in CListCtrl Pin
Niklas L21-Jul-10 1:01
Niklas L21-Jul-10 1:01 
QuestionBug when filling a CListBox with a list of non archived files? Pin
Erik20-Jul-10 22:07
Erik20-Jul-10 22:07 
AnswerRe: Bug when filling a CListBox with a list of non archived files? Pin
Cool_Dev20-Jul-10 22:49
Cool_Dev20-Jul-10 22:49 
AnswerRe: Bug when filling a CListBox with a list of non archived files? [modified] Pin
Code-o-mat20-Jul-10 23:22
Code-o-mat20-Jul-10 23:22 
AnswerRe: Bug when filling a CListBox with a list of non archived files? [modified] Pin
Richard MacCutchan21-Jul-10 1:20
mveRichard MacCutchan21-Jul-10 1:20 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Erik21-Jul-10 1:27
Erik21-Jul-10 1:27 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Richard MacCutchan21-Jul-10 2:04
mveRichard MacCutchan21-Jul-10 2:04 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Erik21-Jul-10 2:34
Erik21-Jul-10 2:34 
AnswerRe: Bug when filling a CListBox with a list of non archived files? Pin
David Crow21-Jul-10 3:13
David Crow21-Jul-10 3:13 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Richard MacCutchan21-Jul-10 2:50
mveRichard MacCutchan21-Jul-10 2:50 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Erik21-Jul-10 2:54
Erik21-Jul-10 2:54 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Richard MacCutchan21-Jul-10 5:01
mveRichard MacCutchan21-Jul-10 5:01 
Questionhow to enble menu item in a system menu? Pin
vasu_sri20-Jul-10 21:29
vasu_sri20-Jul-10 21:29 
AnswerRe: how to enble menu item in a system menu? Pin
«_Superman_»20-Jul-10 21:41
professional«_Superman_»20-Jul-10 21:41 
GeneralRe: how to enble menu item in a system menu? Pin
vasu_sri20-Jul-10 22:50
vasu_sri20-Jul-10 22:50 
QuestionGDI+ Pin
john563220-Jul-10 21:26
john563220-Jul-10 21:26 
AnswerRe: GDI+ Pin
john563221-Jul-10 1:36
john563221-Jul-10 1:36 

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.