Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Cheat Pin
Ian Darling25-Feb-04 9:53
Ian Darling25-Feb-04 9:53 
GeneralRe: Cheat Pin
Christian Graus25-Feb-04 10:13
protectorChristian Graus25-Feb-04 10:13 
GeneralRe: Cheat Pin
Steve S25-Feb-04 22:51
Steve S25-Feb-04 22:51 
GeneralRe: Cheat Pin
lukhas21-Apr-04 11:07
lukhas21-Apr-04 11:07 
GeneralDXSDK FullScreenDialog & TreeControl Pin
akira3225-Feb-04 5:35
akira3225-Feb-04 5:35 
GeneralRe: DXSDK FullScreenDialog & TreeControl Pin
Prakash Nadar25-Feb-04 5:55
Prakash Nadar25-Feb-04 5:55 
GeneralRe: DXSDK FullScreenDialog & TreeControl Pin
akira3227-Feb-04 5:57
akira3227-Feb-04 5:57 
Generaldoc/view initialization problem Pin
Stephane Routelous25-Feb-04 5:29
Stephane Routelous25-Feb-04 5:29 
Hi,

I have a problem concerning the initialization of my application :
I have an MDI application.
In the ChildFrame, I have a dockingbar containing a treectrl.
The CView is a CScrollView where I will draw some things ( GDI ).
When the user open a file, I want to populate the treectrl with some information from the openend file.
I can init the view in the OnInitialUpdate.
But where can I imitialize the TreeCtrl ?
I can initialize it in the OnInitialUpdate from the view :
CMyView::OnInitialUpdate(...)
{
CChildFrame* child = ....
child->GetdockBar()->Init(filename);
}

But it is not very clean.

Any ideas how to do something clean ?

Thanks



Stephane
www.exotk.org

Generalline Pin
Goh Hui Beng25-Feb-04 5:11
Goh Hui Beng25-Feb-04 5:11 
GeneralRe: line Pin
David Crow25-Feb-04 5:31
David Crow25-Feb-04 5:31 
GeneralRe: line Pin
Prakash Nadar25-Feb-04 5:38
Prakash Nadar25-Feb-04 5:38 
General#include <iostream> Pin
torrud25-Feb-04 5:03
torrud25-Feb-04 5:03 
GeneralRe: #include <iostream> Pin
Nemanja Trifunovic25-Feb-04 5:16
Nemanja Trifunovic25-Feb-04 5:16 
GeneralRe: #include <iostream> Pin
torrud25-Feb-04 5:57
torrud25-Feb-04 5:57 
GeneralConvert File format... Pin
rasha200325-Feb-04 4:57
rasha200325-Feb-04 4:57 
GeneralRe: Convert File format... Pin
_Magnus_25-Feb-04 5:14
_Magnus_25-Feb-04 5:14 
GeneralRe: Convert File format... Pin
l a u r e n25-Feb-04 6:50
l a u r e n25-Feb-04 6:50 
QuestionExe and DLL share a common heap? Pin
Halloko25-Feb-04 4:31
Halloko25-Feb-04 4:31 
AnswerRe: Exe and DLL share a common heap? Pin
Prakash Nadar25-Feb-04 4:40
Prakash Nadar25-Feb-04 4:40 
AnswerRe: Exe and DLL share a common heap? Pin
Nemanja Trifunovic25-Feb-04 5:21
Nemanja Trifunovic25-Feb-04 5:21 
GeneralRe: Exe and DLL share a common heap? Pin
valikac25-Feb-04 17:13
valikac25-Feb-04 17:13 
GeneralCreating time object of a non local timezone Pin
DimpleSurana25-Feb-04 4:30
DimpleSurana25-Feb-04 4:30 
GeneralRe: Creating time object of a non local timezone Pin
David Crow25-Feb-04 5:07
David Crow25-Feb-04 5:07 
GeneralRe: Creating time object of a non local timezone Pin
DimpleSurana25-Feb-04 18:26
DimpleSurana25-Feb-04 18:26 
GeneralRe: Creating time object of a non local timezone Pin
David Crow26-Feb-04 2:51
David Crow26-Feb-04 2:51 

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.