Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Set the Bk color of a list ctrl Pin
Anthony_Yio7-Sep-03 0:24
Anthony_Yio7-Sep-03 0:24 
QuestionBringing a window to the top? Pin
Dov Sherman5-Sep-03 18:18
Dov Sherman5-Sep-03 18:18 
AnswerRe: Bringing a window to the top? Pin
Michael Dunn5-Sep-03 18:50
sitebuilderMichael Dunn5-Sep-03 18:50 
AnswerRe: Bringing a window to the top? Pin
Neville Franks5-Sep-03 23:26
Neville Franks5-Sep-03 23:26 
QuestionThe best way 2 skin an application? Pin
Roland19805-Sep-03 12:03
sussRoland19805-Sep-03 12:03 
AnswerRe: The best way 2 skin an application? Pin
Phil Speller5-Sep-03 12:50
Phil Speller5-Sep-03 12:50 
Questionhow to get the number of digits Pin
elmahdy5-Sep-03 11:50
elmahdy5-Sep-03 11:50 
AnswerRe: how to get the number of digits Pin
Shog95-Sep-03 12:26
sitebuilderShog95-Sep-03 12:26 
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 

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.