StackOverflowException & WndProc
|
От: |
Аноним
|
|
| Дата: | 03.06.04 06:09 |
|
Оценка: |
|
Вроде делаю все так как в 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);
}
}
Объясните в чем дело, плз!!!
Пока на собственное сообщение не было ответов, его можно удалить.