Click here to Skip to main content
15,917,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to change CDocument Variables from within the CWinApp derived Class? Pin
David Crow16-Nov-05 3:10
David Crow16-Nov-05 3:10 
Questionerror LNK2001: unresolved external symbol Pin
celllllllll15-Nov-05 6:53
celllllllll15-Nov-05 6:53 
AnswerRe: error LNK2001: unresolved external symbol Pin
David Crow15-Nov-05 7:20
David Crow15-Nov-05 7:20 
GeneralRe: error LNK2001: unresolved external symbol Pin
celllllllll15-Nov-05 7:31
celllllllll15-Nov-05 7:31 
GeneralRe: error LNK2001: unresolved external symbol Pin
tranglt15-Nov-05 18:55
tranglt15-Nov-05 18:55 
GeneralRe: error LNK2001: unresolved external symbol Pin
sunit515-Nov-05 20:18
sunit515-Nov-05 20:18 
Questiondatabase schema design question Pin
ppp00115-Nov-05 6:43
ppp00115-Nov-05 6:43 
AnswerRe: database schema design question Pin
Mayur Mahajan15-Nov-05 14:36
Mayur Mahajan15-Nov-05 14:36 
If you keep the references in both the tables, you can improve the efficiency by eliminating joins. You can find all 'children' of a 'father' and vice versa by a simple query on a single table.
The down side however is an additional overhead in maintaining the redundant data consistently. You need to make sure to update the respective fields whenever any child is to be deleted or the other way. Just see what is preferable for your application, efficiency or simplicity...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Questiondo not show MFC Window Pin
inf00915-Nov-05 6:30
inf00915-Nov-05 6:30 
AnswerRe: do not show MFC Window Pin
David Crow15-Nov-05 7:18
David Crow15-Nov-05 7:18 
AnswerRe: do not show MFC Window Pin
__yb15-Nov-05 10:56
__yb15-Nov-05 10:56 
GeneralRe: do not show MFC Window Pin
inf00916-Nov-05 6:13
inf00916-Nov-05 6:13 
QuestionDrawText !! Pin
hatemtaleb15-Nov-05 6:24
hatemtaleb15-Nov-05 6:24 
AnswerRe: DrawText !! Pin
Mike Dimmick15-Nov-05 6:30
Mike Dimmick15-Nov-05 6:30 
AnswerRe: DrawText !! Pin
mikanu15-Nov-05 6:31
mikanu15-Nov-05 6:31 
GeneralRe: DrawText !! Pin
hatemtaleb15-Nov-05 7:09
hatemtaleb15-Nov-05 7:09 
QuestionVS6: Enabling breakpoints per thread Pin
Chintoo72315-Nov-05 6:04
Chintoo72315-Nov-05 6:04 
AnswerRe: VS6: Enabling breakpoints per thread Pin
David Crow15-Nov-05 7:22
David Crow15-Nov-05 7:22 
QuestionLNK2001 error Pin
yongwpi15-Nov-05 4:50
yongwpi15-Nov-05 4:50 
QuestionRe: LNK2001 error Pin
David Crow15-Nov-05 4:55
David Crow15-Nov-05 4:55 
AnswerRe: LNK2001 error Pin
Michael Dunn15-Nov-05 8:25
sitebuilderMichael Dunn15-Nov-05 8:25 
Questionhow to retrieve a HANDLE from a pointer? Pin
ewighell15-Nov-05 4:49
ewighell15-Nov-05 4:49 
QuestionRe: how to retrieve a HANDLE from a pointer? Pin
David Crow15-Nov-05 4:57
David Crow15-Nov-05 4:57 
AnswerRe: how to retrieve a HANDLE from a pointer? Pin
ewighell15-Nov-05 15:44
ewighell15-Nov-05 15:44 
GeneralRe: how to retrieve a HANDLE from a pointer? Pin
Steen Krogsgaard15-Nov-05 22:44
Steen Krogsgaard15-Nov-05 22:44 

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.