Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalmemory leakage when using CRecordset without passing CDatabase object to it Pin
Joseph Marzbani8-Apr-08 5:47
Joseph Marzbani8-Apr-08 5:47 
QuestionRe: memory leakage when using CRecordset without passing CDatabase object to it Pin
David Crow8-Apr-08 5:52
David Crow8-Apr-08 5:52 
GeneralRe: memory leakage when using CRecordset without passing CDatabase object to it Pin
Joseph Marzbani8-Apr-08 5:56
Joseph Marzbani8-Apr-08 5:56 
Questionupload image file into mysql? Pin
$uresh $hanmugam8-Apr-08 4:37
$uresh $hanmugam8-Apr-08 4:37 
GeneralRe: upload image file into mysql? [modified] Pin
led mike8-Apr-08 5:01
led mike8-Apr-08 5:01 
QuestionHow to Preserve Cotents of Tree Control after doing a DoModal? Pin
Stuck At Zero8-Apr-08 3:58
Stuck At Zero8-Apr-08 3:58 
AnswerRe: How to Preserve Cotents of Tree Control after doing a DoModal? Pin
Cedric Moonen8-Apr-08 4:12
Cedric Moonen8-Apr-08 4:12 
GeneralRe: How to Preserve Cotents of Tree Control after doing a DoModal? Pin
Stuck At Zero8-Apr-08 4:36
Stuck At Zero8-Apr-08 4:36 
The problem I have is that there are 16,384 combinations for the user to specify. I originally thought of using a multi-dimensional array of 5 dimensions but I felt this was going to be ugly.

I then thought of trying to do a bit map but it seems MFC doesn't support this.

Finally I just decided that transferring things from the tree control was a waste of time so I was going to simply retraverse the tree as needed. But with the tree control "disappearing" after the OK button is hit, I've been thinking of simply making a regular tree to transfer the contents of the tree control over to the tree but MFC has no such thing it seems.

If I go the path you suggest, I'm thinking this will push me towards a 5-dimensional C-String array... but I'm right back where I started it seems.
GeneralRe: How to Preserve Cotents of Tree Control after doing a DoModal? Pin
Cedric Moonen8-Apr-08 4:44
Cedric Moonen8-Apr-08 4:44 
GeneralRe: How to Preserve Cotents of Tree Control after doing a DoModal? Pin
Stuck At Zero8-Apr-08 4:55
Stuck At Zero8-Apr-08 4:55 
GeneralRe: How to Preserve Cotents of Tree Control after doing a DoModal? Pin
Cedric Moonen8-Apr-08 5:08
Cedric Moonen8-Apr-08 5:08 
GeneralRe: How to Preserve Cotents of Tree Control after doing a DoModal? Pin
Stuck At Zero8-Apr-08 5:15
Stuck At Zero8-Apr-08 5:15 
GeneralRe: How to Preserve Cotents of Tree Control after doing a DoModal? Pin
Stuck At Zero8-Apr-08 4:43
Stuck At Zero8-Apr-08 4:43 
General[Message Deleted] Pin
Yanshof8-Apr-08 3:55
Yanshof8-Apr-08 3:55 
QuestionRe: Very strange bug in MFC - some can help me ? Pin
David Crow8-Apr-08 4:00
David Crow8-Apr-08 4:00 
GeneralRe: Very strange bug in MFC - some can help me ? Pin
Iain Clarke, Warrior Programmer8-Apr-08 5:40
Iain Clarke, Warrior Programmer8-Apr-08 5:40 
Generalvery simple question for you experts Pin
harjeemann8-Apr-08 2:40
harjeemann8-Apr-08 2:40 
GeneralRe: very simple question for you experts Pin
Rajesh R Subramanian8-Apr-08 2:48
professionalRajesh R Subramanian8-Apr-08 2:48 
GeneralRe: very simple question for you experts Pin
Sarath C8-Apr-08 2:52
Sarath C8-Apr-08 2:52 
GeneralRe: very simple question for you experts Pin
jhwurmbach8-Apr-08 3:17
jhwurmbach8-Apr-08 3:17 
GeneralRe: very simple question for you experts Pin
Cedric Moonen8-Apr-08 3:27
Cedric Moonen8-Apr-08 3:27 
GeneralRe: very simple question for you experts Pin
jhwurmbach8-Apr-08 3:30
jhwurmbach8-Apr-08 3:30 
GeneralDevelop Packaging and Deployment Tool Pin
Sachinpatole8-Apr-08 2:04
Sachinpatole8-Apr-08 2:04 
GeneralRe: Develop Packaging and Deployment Tool Pin
Matthew Faithfull8-Apr-08 2:13
Matthew Faithfull8-Apr-08 2:13 
GeneralRe: Develop Packaging and Deployment Tool Pin
Cedric Moonen8-Apr-08 2:14
Cedric Moonen8-Apr-08 2:14 

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.