Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDisabling Resizing. Pin
Randal Vance Cunanan27-Apr-10 3:44
Randal Vance Cunanan27-Apr-10 3:44 
AnswerRe: Disabling Resizing. Pin
David Crow27-Apr-10 4:03
David Crow27-Apr-10 4:03 
GeneralRe: Disabling Resizing. Pin
Randal Vance Cunanan27-Apr-10 4:45
Randal Vance Cunanan27-Apr-10 4:45 
QuestionList view column header name Pin
arun_pk27-Apr-10 0:41
arun_pk27-Apr-10 0:41 
AnswerRe: List view column header name Pin
Code-o-mat27-Apr-10 0:46
Code-o-mat27-Apr-10 0:46 
GeneralRe: List view column header name Pin
arun_pk27-Apr-10 1:56
arun_pk27-Apr-10 1:56 
GeneralRe: List view column header name Pin
Code-o-mat27-Apr-10 1:59
Code-o-mat27-Apr-10 1:59 
GeneralRe: List view column header name Pin
arun_pk27-Apr-10 2:51
arun_pk27-Apr-10 2:51 
actually i have three columns in my list view
column1 column2 column3
when i drag the first column(column1) to second column(column2)
second coloum will be in first columns position and first columns position .

position will get changed to below format

column2 column1 column3



so when i get the column details using
TCHAR    szBuf[256];
		LVCOLUMN column;
		column.mask       = LVCF_TEXT;
		column.pszText    = szBuf;
		column.cchTextMax = sizeof(szBuf) / sizeof(TCHAR);
		for(int i=0;i<g_ncColumns;i++)
		{
			ListView_GetColumn(GetDlgItem(hDlg,LV_NOTATIONS), i, &column);

at the first run of for loop i m expecting the szBuf as column2


but its stil giving as column1
GeneralRe: List view column header name Pin
Code-o-mat27-Apr-10 2:54
Code-o-mat27-Apr-10 2:54 
QuestionSize of Date/TimePicker Pin
Xerantes26-Apr-10 23:55
Xerantes26-Apr-10 23:55 
QuestionRe: Size of Date/TimePicker Pin
David Crow27-Apr-10 2:51
David Crow27-Apr-10 2:51 
AnswerRe: Size of Date/TimePicker Pin
Xerantes27-Apr-10 3:29
Xerantes27-Apr-10 3:29 
GeneralRe: Size of Date/TimePicker Pin
David Crow27-Apr-10 3:34
David Crow27-Apr-10 3:34 
AnswerRe: Size of Date/TimePicker Pin
Xerantes27-Apr-10 19:32
Xerantes27-Apr-10 19:32 
GeneralRe: Size of Date/TimePicker Pin
David Crow28-Apr-10 2:16
David Crow28-Apr-10 2:16 
GeneralRe: Size of Date/TimePicker Pin
Xerantes28-Apr-10 2:29
Xerantes28-Apr-10 2:29 
QuestionMFC + CDatabase + .UDL file Pin
Undici7726-Apr-10 23:35
Undici7726-Apr-10 23:35 
AnswerRe: MFC + CDatabase + .UDL file Pin
Richard MacCutchan27-Apr-10 5:18
mveRichard MacCutchan27-Apr-10 5:18 
AnswerRe: MFC + CDatabase + .UDL file Pin
Chris Meech27-Apr-10 5:32
Chris Meech27-Apr-10 5:32 
GeneralRe: MFC + CDatabase + .UDL file Pin
Undici7727-Apr-10 5:58
Undici7727-Apr-10 5:58 
GeneralRe: MFC + CDatabase + .UDL file Pin
Richard MacCutchan27-Apr-10 6:36
mveRichard MacCutchan27-Apr-10 6:36 
GeneralRe: MFC + CDatabase + .UDL file Pin
Undici7727-Apr-10 6:38
Undici7727-Apr-10 6:38 
GeneralRe: MFC + CDatabase + .UDL file Pin
Richard MacCutchan27-Apr-10 7:01
mveRichard MacCutchan27-Apr-10 7:01 
GeneralRe: MFC + CDatabase + .UDL file Pin
Undici7727-Apr-10 23:47
Undici7727-Apr-10 23:47 
GeneralRe: MFC + CDatabase + .UDL file Pin
Richard MacCutchan28-Apr-10 3:07
mveRichard MacCutchan28-Apr-10 3:07 

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.