Re: More CChildFrame questions
- From: Ajay Kalra <ajaykalra@xxxxxxxxx>
- Date: Thu, 21 Jun 2007 10:04:42 -0700
On Jun 21, 12:08 pm, "GT" <ContactGT_remo...@xxxxxxxxxxx> wrote:
"David Wilkinson" <no-re...@xxxxxxxxxxxx> wrote in message
news:%23tmfzbBtHHA.2752@xxxxxxxxxxxxxxxxxxxxxxx
GT wrote:
Fair enough, but see my other post in the other thread. The view does
some complex, lengthy maths when it is created, which I would rather just
do once and 'assign' the view to a childframe, then destroy the
childframe, but holding onto my view, then assign the view to another
frame later.
If this is the wrong approach, then any suggestions would be gratefully
appreciated.
GT:
Ajay has given you the correct solution in the other thread. Don't keep
the computed information in the view class itself.
I understand this now. So should I also move all the visual settings and
configuration data to the document for all my classes too - will end up with
a complicated document and some annoyingly long variable names!
No, you shouldnt move anything related to view to the doc. If its view
specific, you should keep it in the view. Keep in mind that you can
have multiple views on a document.
---
Ajay
.
- References:
- More CChildFrame questions
- From: GT
- Re: More CChildFrame questions
- From: Ajay Kalra
- Re: More CChildFrame questions
- From: GT
- Re: More CChildFrame questions
- From: David Wilkinson
- Re: More CChildFrame questions
- From: GT
- More CChildFrame questions
- Prev by Date: Re: Copy to CString's internal buffer
- Next by Date: Re: More CChildFrame questions
- Previous by thread: Re: More CChildFrame questions
- Next by thread: Re: More CChildFrame questions
- Index(es):
Relevant Pages
|