Click here to Skip to main content
15,908,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC PROJECT Pin
T.RATHA KRISHNAN5-Mar-07 19:58
T.RATHA KRISHNAN5-Mar-07 19:58 
I've a MFC Project devoloped using Gamebryo(NetImmerse)Engine. In this Project,
if I change a file for a parent, the clones not automatically updating. The change takes effect only after we save,close and reopen the file. The code for Reload i.e. changing a file is,

void CPerspectiveDoc::OnReload()
{
interactiveload = TRUE;
ChangedLoadedFile = true;

HTREEITEM selectednode = m_StructureView->GetTreeCtrl().GetSelectedItem();
CInsightNode* propkey = (CInsightNode*)m_StructureView->GetTreeCtrl().GetItemData(selectednode);
AddChildSG(propkey,(NiNode *)propkey->GetViewHandle());
}

AddChildSG is defined as,
unsigned int CPerspectiveDoc::AddChildSG(CInsightNode *Insight,NiNode *ParentNode)
{
NiNode *save;
unsigned int retval;

save = m_CurrentNode;
m_CurrentNode = ParentNode;
// get translate and rotate from CInsightNode
placetranslate = Insight->GetPosTrans();
placematrix = Insight->GetPosRotate();
retval = InteractiveAddNodeandSelect(Insight);
placetranslate.x = 0;
placetranslate.y = 0;
placetranslate.z = 0;
placematrix.MakeIdentity();
m_CurrentNode = save;
return retval;
}
QuestionProblem Regarding Updation of Exe and the message of the Taskmanager Pin
James_Programmer5-Mar-07 19:55
James_Programmer5-Mar-07 19:55 
Questionsize of controls in dialog based application Pin
neha.agarwal275-Mar-07 19:24
neha.agarwal275-Mar-07 19:24 
AnswerRe: size of controls in dialog based application Pin
prasad_som5-Mar-07 19:29
prasad_som5-Mar-07 19:29 
AnswerRe: size of controls in dialog based application Pin
Hamid_RT5-Mar-07 19:44
Hamid_RT5-Mar-07 19:44 
QuestionMFC Window Maximized Pin
rushiraj.jhala5-Mar-07 19:00
rushiraj.jhala5-Mar-07 19:00 
AnswerRe: MFC Window Maximized Pin
prasad_som5-Mar-07 19:20
prasad_som5-Mar-07 19:20 
AnswerRe: MFC Window Maximized Pin
Michael Dunn5-Mar-07 21:21
sitebuilderMichael Dunn5-Mar-07 21:21 
QuestionTime problem Pin
david bagaturia5-Mar-07 18:33
david bagaturia5-Mar-07 18:33 
AnswerRe: Time problem Pin
kakan5-Mar-07 19:52
professionalkakan5-Mar-07 19:52 
GeneralRe: Time problem Pin
david bagaturia5-Mar-07 20:27
david bagaturia5-Mar-07 20:27 
GeneralRe: Time problem Pin
Rajesh R Subramanian5-Mar-07 21:21
professionalRajesh R Subramanian5-Mar-07 21:21 
GeneralRe: Time problem Pin
kakan5-Mar-07 21:25
professionalkakan5-Mar-07 21:25 
QuestionCreateProcess mfc Pin
deeps_cute5-Mar-07 17:57
deeps_cute5-Mar-07 17:57 
Questionhide DOS window [modified] -- please help me i need it asap Pin
deeps_cute5-Mar-07 17:32
deeps_cute5-Mar-07 17:32 
AnswerRe: hide DOS window Pin
prasad_som5-Mar-07 18:08
prasad_som5-Mar-07 18:08 
GeneralRe: hide DOS window Pin
deeps_cute5-Mar-07 18:11
deeps_cute5-Mar-07 18:11 
GeneralRe: hide DOS window Pin
prasad_som5-Mar-07 18:15
prasad_som5-Mar-07 18:15 
GeneralRe: hide DOS window Pin
deeps_cute5-Mar-07 18:19
deeps_cute5-Mar-07 18:19 
GeneralRe: hide DOS window Pin
prasad_som5-Mar-07 18:21
prasad_som5-Mar-07 18:21 
GeneralRe: hide DOS window Pin
deeps_cute5-Mar-07 18:24
deeps_cute5-Mar-07 18:24 
GeneralRe: hide DOS window Pin
Rajesh R Subramanian5-Mar-07 18:32
professionalRajesh R Subramanian5-Mar-07 18:32 
GeneralRe: hide DOS window Pin
deeps_cute5-Mar-07 18:36
deeps_cute5-Mar-07 18:36 
GeneralRe: hide DOS window Pin
Rajesh R Subramanian5-Mar-07 19:04
professionalRajesh R Subramanian5-Mar-07 19:04 
GeneralRe: hide DOS window Pin
deeps_cute5-Mar-07 19:50
deeps_cute5-Mar-07 19:50 

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.