Click here to Skip to main content
       

Managed C++/CLI

 
AnswerRe: Read char by char in a file after write char by char to another file in vc++. PinmvpRichard MacCutchan16-Jul-12 23:32 
QuestionC++/CLI - Pin a function pointer Pinmemberkrishter10-Jul-12 23:16 
GeneralRe: C++/CLI - Pin a function pointer [modified] Pinmemberpaul_7114-Jul-12 23:51 
QuestionHow to Make and Use Resource DialogBoxes in VC++ 2008 PinmemberICEFLOWER226-Jun-12 4:07 
AnswerRe: How to Make and Use Resource DialogBoxes in VC++ 2008 PinmvpRichard MacCutchan26-Jun-12 4:31 
GeneralRe: How to Make and Use Resource DialogBoxes in VC++ 2008 PinmemberICEFLOWER226-Jun-12 7:53 
GeneralRe: How to Make and Use Resource DialogBoxes in VC++ 2008 PinmvpRichard MacCutchan26-Jun-12 8:24 
QuestionGetting MdiParent Instance From MdiChild - Windows Forms Application PinmemberParamu197312-Jun-12 1:50 
Hi, Iam using VC++ 2010. While I want to get the MdiParent-Forms Instance, its giving the error, Really I can't identify my mistake...

My Codes from MdiParent
=======================
 
#include "For_Student_Detials"
 
private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
For_Student_Detials^ MyStudentDet= For_Student_Detials::GetForm(true,this);
MyStudentDet->MdiParent=this;
MyStudentDet->FormBorderStyle=System::Windows::Forms::FormBorderStyle::None;
MyStudentDet->Dock=DockStyle::Fill;
MyStudentDet->Show();
}
My Codes From MdiChild // CFIS_Main is my Mdi-Container
=========================================================
#any Include Reqd?????
 
public: static For_Student_Details^ For_Student_Details::_instance = nullptr;
public: static For_Student_Details^ For_Student_Details::GetForm(bool^ IsMDIChild, CFIS_Main^ MyInstFrm) {
if (_instance == nullptr)
    _instance = gcnew For_Student_Details();
 
if (_instance->IsDisposed)
    _instance = gcnew For_Student_Details();
		
if (IsMDIChild)
    _instance->MdiParent = MyInstFrm;
		
return _instance;
} 
From the above code I can't identify my mistake, Does anybody can point me?
Thanks For Helps Thumbs Up | :thumbsup:
AnswerRe: Getting MdiParent Instance From MdiChild - Windows Forms Application PinmvpRichard MacCutchan12-Jun-12 2:15 
GeneralRe: Getting MdiParent Instance From MdiChild - Windows Forms Application [modified] PinmemberParamu197312-Jun-12 2:30 
GeneralRe: Getting MdiParent Instance From MdiChild - Windows Forms Application PinmvpRichard MacCutchan12-Jun-12 3:03 
GeneralRe: Getting MdiParent Instance From MdiChild - Windows Forms Application PinmemberParamu197315-Jun-12 1:30 
QuestionHow to convert from 'WCHAR' to 'System::String ^' Managed C++ Pinmemberptr_Electron7-Jun-12 20:08 
AnswerRe: How to convert from 'WCHAR' to 'System::String ^' Managed C++ PinmvpRichard MacCutchan7-Jun-12 21:58 
Questionint x = (Int32) thisisObjectType is boxing, if the type is already checked ? Pinmemberptr_Electron7-Jun-12 18:15 
AnswerRe: int x = (Int32) thisisObjectType is boxing, if the type is already checked ? PinmvpRichard MacCutchan8-Jun-12 0:34 
QuestionVS2010 Error()- Method or Property 'VCFilter::get_Url Behavior' deprecated and nolonger implemented [modified] PinmemberParamu19736-Jun-12 23:57 
QuestionC++ CX and WPF PinmemberSuper Lloyd6-Jun-12 15:04 
QuestionStrong vs static typing Pinmemberelelont25-Jun-12 9:37 
AnswerRe: Strong vs static typing PinmemberPaul Conrad5-Jun-12 10:37 
GeneralRe: Strong vs static typing PinmvpLuc Pattyn5-Jun-12 11:13 
GeneralRe: Strong vs static typing PinmemberPaul Conrad5-Jun-12 12:10 
AnswerRe: Strong vs static typing PinmvpRichard MacCutchan5-Jun-12 21:08 
GeneralRe: Strong vs static typing Pinmemberelelont26-Jun-12 5:09 
GeneralRe: Strong vs static typing PinmvpRichard MacCutchan6-Jun-12 5:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.141029.1 | Last Updated 29 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid