Здравствуйте, Аноним, Вы писали:
А>Вроде делаю все так как в MSDN написано, а все равно StackOverflowException
А>public __gc class frmMP : public System::Windows::Forms::Form
А>{
А> private:
А> const static Int32 WM_SYSCOMMAND = 0x0112;
А> const static Int32 SC_MINIMIZE = 0xF020;
А> const static Int32 SC_MAXIMIZE = 0xF030;
А> const static Int32 SC_RESTORE = 0xF120;
А> protected:
А> [System::Security::Permissions::PermissionSet(System::Security::Permissions::SecurityAction::Demand, Name="FullTrust")]
А> void WndProc(Message *m)
А> {
А> switch(m->Msg)
А> {
А> case WM_SYSCOMMAND:
А> MessageBox::Show("Command");
А> break;
А> }
А> frmMP::WndProc(m);
А> }
А>}
А>Объясните в чем дело, плз!!!
Ты вызываешь сам себя...