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

C / C++ / MFC

 
AnswerDid you convert the project from an older version of Visual Studio? Pin
Thomas Mielke22-Dec-10 15:43
Thomas Mielke22-Dec-10 15:43 
AnswerRe: module machine type 'X86' conflicts with target machine type 'x64' Pin
Nisamudheen29-Sep-11 2:12
Nisamudheen29-Sep-11 2:12 
QuestionEditing the labels Pin
ratprita19-Oct-09 18:57
ratprita19-Oct-09 18:57 
AnswerRe: Editing the labels Pin
theCPkid19-Oct-09 19:10
theCPkid19-Oct-09 19:10 
GeneralRe: Editing the labels Pin
ratprita19-Oct-09 19:11
ratprita19-Oct-09 19:11 
GeneralRe: Editing the labels Pin
theCPkid19-Oct-09 19:22
theCPkid19-Oct-09 19:22 
GeneralRe: Editing the labels Pin
ratprita19-Oct-09 19:30
ratprita19-Oct-09 19:30 
GeneralRe: Editing the labels Pin
theCPkid19-Oct-09 19:44
theCPkid19-Oct-09 19:44 
I am sorry if I could not get you but do you mean how to edit the labels from user point of view?
If it's so, click on the item to select it and then single click again and an in-place edit box will open. D'Oh! | :doh:
If you mean as a programmer, then you get BeginLabelEdit and endlabel edit messages, you can get the item text, set the item text, get current selection etc etc?
something like

void CMyTreeCtrl::OnEndLabelEdit(LPNMHDR pnmhdr, LRESULT *pLResult)
{
	TV_DISPINFO     *ptvinfo;
	ptvinfo = (TV_DISPINFO *)pnmhdr;
	if (ptvinfo->item.pszText != NULL)
	{
		ptvinfo->item.mask = TVIF_TEXT;
		SetItem(&ptvinfo->item);
	}
	*pLResult = TRUE;
}

GeneralRe: Editing the labels Pin
ratprita19-Oct-09 20:17
ratprita19-Oct-09 20:17 
Questioncheck if type is defined using preprocessor? Pin
Sauce!19-Oct-09 18:37
Sauce!19-Oct-09 18:37 
AnswerRe: check if type is defined using preprocessor? Pin
Rajesh R Subramanian19-Oct-09 18:50
professionalRajesh R Subramanian19-Oct-09 18:50 
GeneralRe: check if type is defined using preprocessor? Pin
Sauce!19-Oct-09 19:00
Sauce!19-Oct-09 19:00 
QuestionNeed help for CStdioFile or CFile Pin
Nicholas Amh19-Oct-09 16:29
Nicholas Amh19-Oct-09 16:29 
AnswerRe: Need help for CStdioFile or CFile Pin
«_Superman_»19-Oct-09 16:39
professional«_Superman_»19-Oct-09 16:39 
GeneralRe: Need help for CStdioFile or CFile Pin
Nicholas Amh19-Oct-09 17:10
Nicholas Amh19-Oct-09 17:10 
GeneralRe: Need help for CStdioFile or CFile Pin
Iain Clarke, Warrior Programmer19-Oct-09 23:08
Iain Clarke, Warrior Programmer19-Oct-09 23:08 
GeneralRe: Need help for CStdioFile or CFile Pin
Nicholas Amh19-Oct-09 23:39
Nicholas Amh19-Oct-09 23:39 
QuestionDarken Windows Desktop and draw normal brightness moveable rectangle [modified] Pin
Neville Franks19-Oct-09 13:06
Neville Franks19-Oct-09 13:06 
AnswerRe: Darken Windows Desktop and draw normal brightness moveable rectangle [modified] Pin
Adam Roderick J19-Oct-09 17:50
Adam Roderick J19-Oct-09 17:50 
GeneralRe: Darken Windows Desktop and draw normal brightness moveable rectangle Pin
Neville Franks19-Oct-09 23:48
Neville Franks19-Oct-09 23:48 
AnswerRe: Darken Windows Desktop and draw normal brightness moveable rectangle Pin
Naveen19-Oct-09 18:20
Naveen19-Oct-09 18:20 
GeneralRe: Darken Windows Desktop and draw normal brightness moveable rectangle Pin
Neville Franks19-Oct-09 23:50
Neville Franks19-Oct-09 23:50 
AnswerRe: Darken Windows Desktop and draw normal brightness moveable rectangle Pin
Iain Clarke, Warrior Programmer19-Oct-09 23:05
Iain Clarke, Warrior Programmer19-Oct-09 23:05 
GeneralRe: Darken Windows Desktop and draw normal brightness moveable rectangle Pin
Neville Franks19-Oct-09 23:51
Neville Franks19-Oct-09 23:51 
QuestionSetWindowsHookEx to modify GetSaveFileName Pin
Patcher3219-Oct-09 9:49
Patcher3219-Oct-09 9:49 

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.