Click here to Skip to main content
15,921,716 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: intializing 2d array Pin
prasad_som15-Feb-07 6:05
prasad_som15-Feb-07 6:05 
GeneralRe: intializing 2d array Pin
Michael Dunn15-Feb-07 20:52
sitebuilderMichael Dunn15-Feb-07 20:52 
Questioncounting the print Pin
shakumar_2215-Feb-07 4:45
shakumar_2215-Feb-07 4:45 
JokeRe: counting the print [modified] Pin
toxcct15-Feb-07 4:59
toxcct15-Feb-07 4:59 
GeneralRe: counting the print Pin
Stephen Hewitt15-Feb-07 14:03
Stephen Hewitt15-Feb-07 14:03 
GeneralRe: counting the print Pin
toxcct15-Feb-07 20:17
toxcct15-Feb-07 20:17 
AnswerRe: counting the print Pin
David Crow15-Feb-07 5:34
David Crow15-Feb-07 5:34 
QuestionDestruction Order Pin
baerten15-Feb-07 3:59
baerten15-Feb-07 3:59 
Hi everybody,

in my project i have a complicated/strange structure of architecture :

MDI Project -> Frame(1) -> View(2) -> TabWnd(3) -> View(4) -> TabWnd(5) -> View(6)
1) The Frame with all customers
2) A View which contains the TabWnd
3) Each Tab of the TabWnd corresponds to a Customer
4) The View which displayes the informations and a Tab
5) The Tab with several opened "orders from this customer"
6) The detail of the order

If i press the ESCAPE Key in the Order-View(6) i send a Message to the MainTab(3) which
should close the entire Tab (should close 4+5+6)

The "RemoveTab" Function performs a ->DestroyWindow() of the View in this Tab (4)


Now the question : Why does it calls the destructores in the different way?
At first Destructor of the View(6), than the destructor of the View(4) which performs a "delete Tab;" and follows the destructor of the Tab(5)

Is it possible that the View(6) destroyes automaticly all Views from which he is the owner?

Big thanks Smile | :)
AnswerRe: Destruction Order Pin
Gary R. Wheeler17-Feb-07 4:19
Gary R. Wheeler17-Feb-07 4:19 
QuestionRepainting in Win32 (WM_PAINT issues) Pin
deville7515-Feb-07 3:54
deville7515-Feb-07 3:54 
AnswerRe: Drawing Graph using GDI Pin
Cedric Moonen15-Feb-07 4:03
Cedric Moonen15-Feb-07 4:03 
GeneralRe: Drawing Graph using GDI Pin
deville7515-Feb-07 6:28
deville7515-Feb-07 6:28 
AnswerRe: Repainting in Win32 (WM_PAINT issues) Pin
Mark Salsbery15-Feb-07 6:17
Mark Salsbery15-Feb-07 6:17 
GeneralRe: Repainting in Win32 (WM_PAINT issues) Pin
deville7515-Feb-07 6:27
deville7515-Feb-07 6:27 
GeneralRe: Repainting in Win32 (WM_PAINT issues) Pin
Mark Salsbery15-Feb-07 6:32
Mark Salsbery15-Feb-07 6:32 
AnswerRe: Repainting in Win32 (WM_PAINT issues) Pin
Mark Salsbery15-Feb-07 6:27
Mark Salsbery15-Feb-07 6:27 
GeneralRe: Repainting in Win32 (WM_PAINT issues) Pin
deville7515-Feb-07 6:32
deville7515-Feb-07 6:32 
GeneralRe: Repainting in Win32 (WM_PAINT issues) Pin
Mark Salsbery15-Feb-07 6:34
Mark Salsbery15-Feb-07 6:34 
GeneralRe: Repainting in Win32 (WM_PAINT issues) Pin
deville7515-Feb-07 6:39
deville7515-Feb-07 6:39 
GeneralRe: Repainting in Win32 (WM_PAINT issues) Pin
Mark Salsbery15-Feb-07 6:41
Mark Salsbery15-Feb-07 6:41 
GeneralRe: Repainting in Win32 (WM_PAINT issues) Pin
Mark Salsbery15-Feb-07 7:10
Mark Salsbery15-Feb-07 7:10 
GeneralRe: Repainting in Win32 (WM_PAINT issues) Pin
Cedric Moonen15-Feb-07 7:51
Cedric Moonen15-Feb-07 7:51 
GeneralRe: Repainting in Win32 (WM_PAINT issues) Pin
Mark Salsbery15-Feb-07 9:46
Mark Salsbery15-Feb-07 9:46 
QuestionHow to run an application only in particular system? Pin
Super Hornet15-Feb-07 3:52
Super Hornet15-Feb-07 3:52 
AnswerRe: How to run an application only in particular system? Pin
deville7515-Feb-07 3:55
deville7515-Feb-07 3:55 

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.