Click here to Skip to main content
15,889,865 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: TCP Stack overflow Pin
micutzu20-Dec-06 3:47
micutzu20-Dec-06 3:47 
AnswerRe: TCP Stack overflow Pin
James R. Twine20-Dec-06 3:35
James R. Twine20-Dec-06 3:35 
GeneralRe: TCP Stack overflow Pin
micutzu20-Dec-06 3:52
micutzu20-Dec-06 3:52 
AnswerRe: TCP Stack overflow Pin
Mark Salsbery20-Dec-06 6:23
Mark Salsbery20-Dec-06 6:23 
QuestionManaging DoubleClick in CListCtrl with scrollbars Pin
doctorpi20-Dec-06 2:50
doctorpi20-Dec-06 2:50 
AnswerRe: Managing DoubleClick in CListCtrl with scrollbars Pin
James R. Twine20-Dec-06 3:25
James R. Twine20-Dec-06 3:25 
GeneralRe: Managing DoubleClick in CListCtrl with scrollbars Pin
doctorpi20-Dec-06 3:26
doctorpi20-Dec-06 3:26 
QuestionProblem in TreeControl Pin
Krishnatv20-Dec-06 2:17
Krishnatv20-Dec-06 2:17 
HI,

Iam Doing An application Using Tree Control.

My problem is If I double Click on Any Root Item on the Tree That Should be display in one Edit Box.

But Iam not Getting .

plz check this code

void CTreeItem::OnDblclkTree1(NMHDR* pNMHDR, LRESULT* pResult)
{
// m_Tree is Tree Control Variable

HTREEITEM hItem = m_Tree.GetRootItem();

if ((hItem != NULL) && m_Tree.ItemHasChildren(hItem))
{
m_Tree.Expand(hItem, TVE_EXPAND);
m_Tree.EnsureVisible(hItem);
}

CString str=m_Tree.GetItemText( hItem );
UpdateData(FALSE);
CDUXmlRuleDlgDlg duxml;

// m_strNodeName is My Edit Box Control Variable.

duxml.m_strNodeName = str;
UpdateData(FALSE);

*pResult = 0;

}

plz check this

AnswerRe: Problem in TreeControl Pin
AJarrett20-Dec-06 4:03
AJarrett20-Dec-06 4:03 
AnswerRe: Problem in TreeControl Pin
prasad_som20-Dec-06 19:40
prasad_som20-Dec-06 19:40 
QuestionQuestion about MFC Application ? Pin
Sakthiu20-Dec-06 1:59
Sakthiu20-Dec-06 1:59 
AnswerRe: Question about MFC Application ? Pin
James R. Twine20-Dec-06 2:18
James R. Twine20-Dec-06 2:18 
QuestionWhats the macro equivlent? Pin
Waldermort20-Dec-06 1:51
Waldermort20-Dec-06 1:51 
AnswerRe: Whats the macro equivlent? Pin
Naveen20-Dec-06 2:06
Naveen20-Dec-06 2:06 
AnswerRe: Whats the macro equivlent? [modified] Pin
Monty220-Dec-06 2:18
Monty220-Dec-06 2:18 
GeneralRe: Whats the macro equivlent? Pin
Waldermort20-Dec-06 2:40
Waldermort20-Dec-06 2:40 
Questionone class in tow namespace Pin
A_Fa20-Dec-06 1:06
A_Fa20-Dec-06 1:06 
AnswerRe: one class in tow namespace Pin
sunit520-Dec-06 1:15
sunit520-Dec-06 1:15 
GeneralRe: one class in tow namespace Pin
A_Fa20-Dec-06 1:29
A_Fa20-Dec-06 1:29 
AnswerRe: one class in tow namespace Pin
Cedric Moonen20-Dec-06 1:16
Cedric Moonen20-Dec-06 1:16 
GeneralRe: one class in tow namespace Pin
A_Fa20-Dec-06 1:35
A_Fa20-Dec-06 1:35 
AnswerRe: one class in tow namespace Pin
CPallini20-Dec-06 2:07
mveCPallini20-Dec-06 2:07 
AnswerRe: one class in tow namespace Pin
James R. Twine20-Dec-06 2:09
James R. Twine20-Dec-06 2:09 
AnswerRe: one class in tow namespace Pin
Maximilien20-Dec-06 3:09
Maximilien20-Dec-06 3:09 
GeneralRe: one class in tow namespace Pin
James R. Twine20-Dec-06 3:20
James R. Twine20-Dec-06 3:20 

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.