Click here to Skip to main content
15,886,873 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: issue while loading MFC extension dll dynamically Pin
Richard MacCutchan25-Mar-11 0:02
mveRichard MacCutchan25-Mar-11 0:02 
GeneralRe: issue while loading MFC extension dll dynamically Pin
ptr_Electron25-Mar-11 0:21
ptr_Electron25-Mar-11 0:21 
GeneralRe: issue while loading MFC extension dll dynamically Pin
Richard MacCutchan25-Mar-11 1:03
mveRichard MacCutchan25-Mar-11 1:03 
GeneralRe: issue while loading MFC extension dll dynamically Pin
ptr_Electron25-Mar-11 2:50
ptr_Electron25-Mar-11 2:50 
GeneralRe: issue while loading MFC extension dll dynamically Pin
Richard MacCutchan25-Mar-11 4:24
mveRichard MacCutchan25-Mar-11 4:24 
QuestionInstances of an object Pin
Cyclone_S19-Mar-11 15:47
Cyclone_S19-Mar-11 15:47 
AnswerRe: Instances of an object Pin
John Schroedl19-Mar-11 17:51
professionalJohn Schroedl19-Mar-11 17:51 
GeneralRe: Instances of an object Pin
John Schroedl19-Mar-11 18:01
professionalJohn Schroedl19-Mar-11 18:01 
Also, if you want to detect a collision, change the logic in the timer tick:

System::Void timer3_Tick(System::Object^  sender, System::EventArgs^  e)
{
    for each (missile^ m in Missiles)
    {
        m->update();

        if(x==true && o1 != nullptr)
        {
            if (o1->Box3->Bounds.IntersectsWith(m->Box1->Bounds))
            {
                m->Box1->BackColor = Color::Green;
            }
        }
    }

    Missiles->RemoveAll(gcnew Predicate<missile^>(this, &Form1::IsMissileOffScreen));
}


Other advice: It would be courteous to let us know that you've posted about this in the C++ forum as well to prevent duplication of efforts.

John
GeneralRe: Instances of an object Pin
Cyclone_S20-Mar-11 9:56
Cyclone_S20-Mar-11 9:56 
AnswerRe: Instances of an object Pin
Luc Pattyn20-Mar-11 10:47
sitebuilderLuc Pattyn20-Mar-11 10:47 
GeneralRe: Instances of an object Pin
Cyclone_S20-Mar-11 14:47
Cyclone_S20-Mar-11 14:47 
AnswerRe: Instances of an object Pin
Luc Pattyn20-Mar-11 14:50
sitebuilderLuc Pattyn20-Mar-11 14:50 
GeneralRe: Instances of an object Pin
Cyclone_S20-Mar-11 15:30
Cyclone_S20-Mar-11 15:30 
GeneralRe: Instances of an object Pin
John Schroedl21-Mar-11 4:02
professionalJohn Schroedl21-Mar-11 4:02 
GeneralRe: Instances of an object Pin
Cyclone_S21-Mar-11 15:44
Cyclone_S21-Mar-11 15:44 
GeneralRe: Instances of an object Pin
Cyclone_S23-Mar-11 13:21
Cyclone_S23-Mar-11 13:21 
AnswerRe: Instances of an object Pin
Luc Pattyn23-Mar-11 16:01
sitebuilderLuc Pattyn23-Mar-11 16:01 
GeneralRe: Instances of an object Pin
John Schroedl23-Mar-11 18:22
professionalJohn Schroedl23-Mar-11 18:22 
GeneralRe: Instances of an object Pin
Cyclone_S25-Mar-11 14:31
Cyclone_S25-Mar-11 14:31 
GeneralRe: Instances of an object Pin
Cyclone_S26-Mar-11 9:38
Cyclone_S26-Mar-11 9:38 
Questionreturn 2 HWND Pin
Masternoob00718-Mar-11 1:19
Masternoob00718-Mar-11 1:19 
AnswerRe: return 2 HWND Pin
Richard MacCutchan18-Mar-11 2:50
mveRichard MacCutchan18-Mar-11 2:50 
Question[C++/CLI] Progressbar doesn't work [modified] Pin
Masternoob00716-Mar-11 2:08
Masternoob00716-Mar-11 2:08 
AnswerRe: [C++/CLI] Progressbar doesn't work Pin
Luc Pattyn16-Mar-11 2:27
sitebuilderLuc Pattyn16-Mar-11 2:27 
GeneralRe: [C++/CLI] Progressbar doesn't work Pin
Masternoob00716-Mar-11 2:37
Masternoob00716-Mar-11 2:37 

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.