Click here to Skip to main content
15,900,818 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to get the number of digits Pin
David Crow5-Sep-03 15:00
David Crow5-Sep-03 15:00 
AnswerRe: how to get the number of digits Pin
Terry O'Nolley5-Sep-03 18:25
Terry O'Nolley5-Sep-03 18:25 
AnswerRe: how to get the number of digits Pin
Ted Ferenc6-Sep-03 9:50
Ted Ferenc6-Sep-03 9:50 
GeneralArrays; Pin
Bo Hunter5-Sep-03 11:13
Bo Hunter5-Sep-03 11:13 
GeneralRe: Arrays; Pin
Michael Dunn5-Sep-03 13:53
sitebuilderMichael Dunn5-Sep-03 13:53 
GeneralRe: Arrays; Pin
Jörgen Sigvardsson6-Sep-03 11:37
Jörgen Sigvardsson6-Sep-03 11:37 
GeneralRe: Arrays; Pin
Nemanja Trifunovic6-Sep-03 17:51
Nemanja Trifunovic6-Sep-03 17:51 
Generalarugh arugh +arugh^1*10^4 Pin
(Steven Hicks)n+15-Sep-03 11:13
(Steven Hicks)n+15-Sep-03 11:13 
Yes its really bothering me.... I have a CTreeCtrl on a modeless dialog, When a selection is made on the list control that is on the dialog box I want another class, generic, to parse out the contents to the related file... how can I do this? I understand that I can't pass a CTreeCtrl as a return value from the generic class (CParseDocument) and I can't get the generic class to get control of the Dialog class and make it update the control.

Also I'm using another class for this to organize it and it gets really messy if I keep the parsing in the Dialog class.


Heres what I've been trying to get to work (it keeps returning NULL):

TV_INSERTSTRUCT tv_is;

tv_is.hParent = TVI_ROOT;
tv_is.hInsertAfter = TVI_LAST ;
tv_is.item.mask = TVIF_TEXT;
tv_is.item.pszText = ConvertCStringToChar(m_strSectionName);
hSectionRoot = m_cSlidOpen.m_ctrlXMLTree.InsertItem(&tv_is);

if (hSectionRoot==NULL)
{
AfxMessageBox("failed");
return;
}




-Steven Hicks

CPA

CodeProjectAddict

Actual Linux Penguins were harmed in the creation of this message.

More tutorials: Ltpb.8m.com: Tutorials |404Browser.com (Download Link)

GeneralRe: arugh arugh +arugh^1*10^4 Pin
Michael Dunn5-Sep-03 13:54
sitebuilderMichael Dunn5-Sep-03 13:54 
Generalinterrupt handling in win2k Pin
Member 5562475-Sep-03 11:01
Member 5562475-Sep-03 11:01 
GeneralRe: interrupt handling in win2k Pin
Brad Sokol5-Sep-03 11:21
Brad Sokol5-Sep-03 11:21 
GeneralRe: interrupt handling in win2k Pin
Alexander M.,6-Sep-03 3:50
Alexander M.,6-Sep-03 3:50 
QuestionHow to create an empty folder in Visaul C++ Pin
nachilau5-Sep-03 10:07
nachilau5-Sep-03 10:07 
AnswerRe: How to create an empty folder in Visaul C++ Pin
David Crow5-Sep-03 10:44
David Crow5-Sep-03 10:44 
Questionlvm_sortitems with no MFC? Pin
Kayembi5-Sep-03 8:28
Kayembi5-Sep-03 8:28 
AnswerRe: lvm_sortitems with no MFC? Pin
David Crow5-Sep-03 8:55
David Crow5-Sep-03 8:55 
GeneralPrinting HTML pages Pin
jancsi5-Sep-03 8:07
jancsi5-Sep-03 8:07 
GeneralRe: Printing HTML pages Pin
Ravi Bhavnani5-Sep-03 12:39
professionalRavi Bhavnani5-Sep-03 12:39 
Generaltell CDocument not to save Pin
Jason Henderson5-Sep-03 7:01
Jason Henderson5-Sep-03 7:01 
GeneralRe: tell CDocument not to save Pin
David Crow5-Sep-03 7:07
David Crow5-Sep-03 7:07 
GeneralRe: tell CDocument not to save Pin
Jason Henderson5-Sep-03 7:09
Jason Henderson5-Sep-03 7:09 
GeneralRe: tell CDocument not to save Pin
KaЯl5-Sep-03 7:37
KaЯl5-Sep-03 7:37 
GeneralCapture password by service and hook Pin
Shawn Ning5-Sep-03 5:37
Shawn Ning5-Sep-03 5:37 
GeneralRe: Capture password by service and hook Pin
David Crow5-Sep-03 5:39
David Crow5-Sep-03 5:39 
GeneralRe: Capture password by service and hook Pin
Anonymous5-Sep-03 5:51
Anonymous5-Sep-03 5:51 

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.